# peewee

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


Source: https://findsoftware.frbit.cloud/peewee/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://docs.peewee-orm.com/en/latest/
- repository: https://github.com/coleifer/peewee
- docs: https://docs.peewee-orm.com/en/latest/

### Identity

- status: active
- maintainer: Charles Leifer
- maintainerType: individual
- parent: unknown
- firstRelease: 2010
- hqCountry: unknown

### Kind

- category: library
- hosting: python
- language: python
- runtime: python
- runtimeMin: python 3.8
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: sqlite, mysql, mariadb, postgres
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: pip

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 4
- latestReleaseDate: 2026-10-07

### Adoption

- githubStargazers: 12006
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 132
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 7932
- dependentPackages: 236

### Sources

- urls: https://docs.peewee-orm.com/en/latest/ (read 2026-11-16)
- urls: https://api.github.com/repos/coleifer/peewee (read 2026-11-16)
- urls: https://docs.peewee-orm.com/en/latest/ (read 2026-11-16)
- maintainer: https://github.com/coleifer/peewee/blob/master/LICENSE (read 2026-11-16)
- firstRelease: https://pypi.org/pypi/peewee/json (read 2026-11-16)
- category: https://github.com/coleifer/peewee/blob/master/README.rst (read 2026-11-16)
- language: https://api.github.com/repos/coleifer/peewee (read 2026-11-16)
- runtime: https://github.com/coleifer/peewee/blob/4.5.3/pyproject.toml (read 2026-11-16)
- runtimeMin: https://github.com/coleifer/peewee/blob/4.5.3/pyproject.toml (read 2026-11-16)
- installMethod: https://github.com/coleifer/peewee/blob/master/README.rst (read 2026-11-16)
- databases: https://github.com/coleifer/peewee/blob/master/README.rst (read 2026-11-16)
- license: https://api.github.com/repos/coleifer/peewee (read 2026-11-16)
- currentMajor: https://api.github.com/repos/coleifer/peewee/releases/latest (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/coleifer/peewee/releases/latest (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/coleifer/peewee (read 2026-11-16)
- contributors: https://api.github.com/repos/coleifer/peewee/contributors (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/peewee (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/peewee (read 2026-11-16)

## Notes

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](https://docs.peewee-orm.com/en/latest/) 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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
