FindSoftware

peewee

Small Python object-relational mapper with a query builder, asyncio support and migrations for SQLite, MySQL, MariaDB and PostgreSQL.

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

Current major version
47
Last release
2026-10-077

Adoption

GitHub stars
12,0062
Contributors
1328
Dependent repositories
7,9329
Dependent packages
2369

Why these figures do not compare

Sources

  1. 2026-11-16: links
    docs.peewee-orm.com/en/latest/
  2. 2026-11-16: links, Written in, License, GitHub stars
    api.github.com/repos/coleifer/peewee
  3. 2026-11-16: Maintainer
    github.com/coleifer/peewee/blob/master/LICENSE
  4. 2026-11-16: First release
    pypi.org/pypi/peewee/json
  5. 2026-11-16: Categories, Install with, Databases
    github.com/coleifer/peewee/blob/master/README.rst
  6. 2026-11-16: Runtime, Minimum runtime
    github.com/coleifer/peewee/blob/4.5.3/pyproject.toml
  7. 2026-11-16: Current major version, Last release
    api.github.com/repos/coleifer/peewee/releases/latest
  8. 2026-11-16: Contributors
    api.github.com/repos/coleifer/peewee/contributors
  9. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/pypi.org/packages/peewee

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON