peewee logo


A small, expressive ORM -- supports postgresql, mysql and sqlite
+ 1

What is peewee?

A small, expressive orm, written in python (2.6+, 3.2+), with built-in support for sqlite, mysql and postgresql and special extensions like hstore.
peewee is a tool in the Object Relational Mapper (ORM) category of a tech stack.
peewee is an open source tool with 7.2K GitHub stars and 1.2K GitHub forks. Here’s a link to peewee's open source repository on GitHub

Who uses peewee?

4 companies reportedly use peewee in their tech stacks, including Kaffeabb, 下厨房, and CozyCal Scheduling.

18 developers on StackShare have stated that they use peewee.

peewee Integrations

Why developers like peewee?

Here’s a list of reasons why companies and developers use peewee
Top Reasons
peewee Reviews

Here are some stack decisions, common use cases and reviews by companies and developers who chose peewee in their tech stack.

Dag Sneeggen
Dag Sneeggen
at Curbcore Consulting · | 1 upvotes · 1.5K views

model_to_dict is a function in the "playhouse" extension, which automagically converts a model into a Python dictionary. In other words; you can easily convert data from complex SQL queries straight to JSON. peewee

See more

peewee Alternatives & Comparisons

What are some alternatives to peewee?
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
Doctrine 2
Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL.
Entity Framework
It is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.
See all alternatives

peewee's Followers
24 developers follow peewee to keep up with related blogs and decisions.
Егор Аристов
Christian Franchin
Raj Singh
Abdul-Azeem Mohammed Mouneer
Tanmay Naik