ORMs for Python
Small Expressive ORM
★ 4.6
Pythonic Query Language
★ 4.5
pip install peeweepip install ponypip install peeweepip install ponyPeewee is the ORM of choice for lightweight Python data scripts and microservices. Engineers define model classes for their tables and use the query API to read, insert, and update records — it is particularly popular for SQLite-backed data tools and scripts where the full weight of SQLAlchemy is unnecessary.
Python data engineers use Pony ORM when they want database queries that read like Python rather than SQL. Queries like `select(u for u in User if u.age > 25)` are translated to optimized SQL at runtime. This makes Pony ORM a good fit for analytics scripts and reporting tools where code readability is a priority.
Individual Tool Pages