Comparison
ormar vs peewee vs PyPika vs SQLAlchemy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
An async ORM with fastapi in mind and pydantic validation.
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install ormara little orm
Actively maintained. Last release 8 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
$
pip install peeweeA SQL query builder API for Python
Maintained. Last release 10 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity.
$
pip install pypikaDatabase Abstraction Library
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install sqlalchemyIn short
- SQLAlchemy is the most used: 429.1M downloads a month, 11× more than peewee.
- Maintenance is comparable: SQLAlchemy 85, ormar 84, peewee 84, PyPika 58 on Pythie’s Index.
- SQLAlchemy is growing fastest: downloads +13% over the last month.
- Safe default for a new project: SQLAlchemy.
Side by side
| Metric | ormar | peewee | PyPika | SQLAlchemy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | 84 |