#8484th of 354 in Backends, databases and hosting
peewee
Small Python ORM and query builder for SQLite, MySQL, MariaDB and PostgreSQL
- Stars
- 12k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- Python
11,872 on 27 Apr 202612,012 on 23 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Peewee is a single-module Python ORM with no required dependencies. It defines models and fields, builds composable SQL queries, and supports SQLite, MySQL, MariaDB and PostgreSQL, with asyncio support on aiosqlite, asyncpg and aiomysql. It also ships a diff-based migration runner (pwmigrate) and Flask, FastAPI and Pydantic integrations. It is not an AI project; it fits this list only as a data-layer library.
Who it is for: Python developers who want a small ORM for app data layers
Strengths
- Single module with no required dependencies; SQLite works through the standard library
- Covers SQLite, MySQL, MariaDB and PostgreSQL, with sync and asyncio APIs
- Includes a diff-based migration runner (pwmigrate) and playhouse extensions
- Documented Flask and FastAPI integration, plus Pydantic utilities
Weaknesses
- Library only: no auth, API server, storage or hosting included
- No AI or LLM features; unrelated to models, agents or RAG
- Async API uses separate a-prefixed methods (acreate, asave) alongside the sync ones
- Database drivers are optional extras that must be installed separately
What it needs
- no GPU
- Needs pymysql (mysql extra), psycopg2 or psycopg3 (postgres extras), aiosqlite, aiomysql or asyncpg (async extras)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Backends, databases and hosting
See all 354| Rank | Project | Score |
|---|---|---|
| #82 | dorisMPP analytics database for real-time SQL, lakehouse queries and hybrid search | 81 out of 100 |
| #83 | citusPostgreSQL extension that shards tables across nodes for distributed queries | 81 out of 100 |
| #85 | falkordbProperty graph database on Redis with OpenCypher and sparse-matrix queries | 81 out of 100 |
| #86 | baserowNo-code database and app builder, positioned as an Airtable alternative | 81 out of 100 |
| #87 | pinotDistributed real-time OLAP datastore with SQL queries over streaming and batch data | 81 out of 100 |