peewee
Small Python object-relational mapper with a query builder, asyncio support and migrations for SQLite, MySQL, MariaDB and PostgreSQL.
docs.peewee-orm.com/en/latest/repositorydocs
peewee is a Python object-relational mapper. Models are Python classes that map to database tables, and queries are built with a query builder that exposes SQL. It supports SQLite, MySQL, MariaDB and PostgreSQL, and its asyncio support is built on the standard async drivers. The package is installed with pip, and the documentation covers integrations with Flask, FastAPI and pydantic.
Worth knowing
The library is a single module with no required dependencies. The MySQL, PostgreSQL and async database drivers are optional extras installed alongside it.
Identity
- Status
- Active
- Maintainer
- Charles Leifer3
- Maintained by
- Individual
- First release
- 20104
Rendering and deploy
- Install with
- pip5
Releases
Adoption
Sources
- 2026-11-16: links
docs.peewee-orm.com/en/latest/ - 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/coleifer/peewee - 2026-11-16: Maintainer
github.com/coleifer/peewee/blob/master/LICENSE - 2026-11-16: First release
pypi.org/pypi/peewee/json - 2026-11-16: Categories, Install with, Databases
github.com/coleifer/peewee/blob/master/README.rst - 2026-11-16: Runtime, Minimum runtime
github.com/coleifer/peewee/blob/4.5.3/pyproject.toml - 2026-11-16: Current major version, Last release
api.github.com/repos/coleifer/peewee/releases/latest - 2026-11-16: Contributors
api.github.com/repos/coleifer/peewee/contributors - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/pypi.org/packages/peewee