Peewee is a simple and small ORM. It has few (but expressive) concepts, making it easy to learn and intuitive to use.

  • A small, expressive ORM
  • Written in python with support for versions 2.6+ and 3.2+.
  • built-in support for sqlite, mysql and postgresql
  • tons of extensions available in the Playhouse, a collection of addons (postgres hstore/json/arrays, sqlite full-text-search, schema migrations, and much more).
postgresql mysql sqlite

Peewee’s source code hosted on GitHub.

New to peewee? Here is a list of documents you might find most helpful when getting started:



If you find any bugs, odd behavior, or have an idea for a new feature please don’t hesitate to open an issue on GitHub or contact me.

Indices and tables