coleifer/peewee

a small, expressive orm -- supports postgresql, mysql, sqlite, now with asyncio

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 53 minutes ago
Added to GitGenius on September 5th, 2026
Created on October 11th, 2010
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 1,381
Total Stargazers: 11,986 (+1)
Total Subscribers: 194 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.2 hours
Mean response time: 7.3 hours
90th percentile: 16.5 hours
Tracked items: 138

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 19% of issues opened in the past year have been closed. Three people close 96% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 1
Closed in 7 days: 1
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Detailed Description

Peewee is a small, expressive ORM that supports PostgreSQL, MySQL, SQLite, and includes asyncio support.

Peewee addresses the need for lightweight database abstraction without sacrificing query expressiveness. It works by exposing SQL's full power through a flexible query builder while keeping the API intuitive. The tool is distributed as a single module with no required dependencies, making it straightforward to integrate into projects. It supports multiple database backends through optional driver installations and provides asyncio support built on standard async drivers like aiosqlite, asyncpg, and aiomysql.

Peewee suits developers who want an ORM that stays out of the way without imposing heavy frameworks. It works well for projects of any size, from small scripts to production workloads, and integrates cleanly with Flask, FastAPI, and Pydantic. The tool includes schema migrations with diff-based generation through the pwmigrate command and offers numerous extensions for specialized use cases. Choose this if you prefer explicit SQL control and minimal magic compared to heavier ORMs.

The project maintains steady, deliberate development with regular updates addressing both core functionality and ecosystem integration. Documentation is comprehensive and well-organized, covering everything from quickstart guides to extensive SQL query examples. The codebase has demonstrated stability across production deployments spanning years, with the tool having run real workloads since its inception.