#8484th of 354 in Backends, databases and hosting

peewee

Small Python ORM and query builder for SQLite, MySQL, MariaDB and PostgreSQL

Releases and problems feed (RSS)

Stars
12k
License
MIT
Last commit
Nov 2026
Last release
Oct 2026
Language
Python
Stars, last 30 weeks+140
27 Apr 2026: 11,872 stars4 May 2026: 11,872 stars11 May 2026: 11,879 stars18 May 2026: 11,884 stars25 May 2026: 11,888 stars1 Jun 2026: 11,890 stars8 Jun 2026: 11,895 stars15 Jun 2026: 11,900 stars22 Jun 2026: 11,909 stars29 Jun 2026: 11,915 stars6 Jul 2026: 11,920 stars13 Jul 2026: 11,925 stars20 Jul 2026: 11,927 stars27 Jul 2026: 11,930 stars3 Aug 2026: 11,933 stars10 Aug 2026: 11,940 stars17 Aug 2026: 11,945 stars24 Aug 2026: 11,950 stars31 Aug 2026: 11,955 stars7 Sept 2026: 11,958 stars14 Sept 2026: 11,961 stars21 Sept 2026: 11,966 stars28 Sept 2026: 11,971 stars5 Oct 2026: 11,975 stars12 Oct 2026: 11,979 stars19 Oct 2026: 11,984 stars26 Oct 2026: 11,990 stars2 Nov 2026: 11,998 stars9 Nov 2026: 12,000 stars16 Nov 2026: 12,006 stars23 Nov 2026: 12,012 stars

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
Also in Backends, databases and hosting
RankProjectScore
#82dorisMPP analytics database for real-time SQL, lakehouse queries and hybrid search16.3k stars+130 (+0.8%) in 30 daysApache-2.081 out of 100
#83citusPostgreSQL extension that shards tables across nodes for distributed queries12.9k starsAGPL-3.081 out of 100
#85falkordbProperty graph database on Redis with OpenCypher and sparse-matrix queries10.5k stars+157 (+1.5%) in 30 dayscustom license81 out of 100
#86baserowNo-code database and app builder, positioned as an Airtable alternative6.4k starscustom license81 out of 100
#87pinotDistributed real-time OLAP datastore with SQL queries over streaming and batch data6.2k starsApache-2.081 out of 100