Comparison
ormar vs PyPika vs SQLAlchemy vs tortoise-orm
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 SQL query builder API for Python
Maintained. Last release 10 months ago, commits in 6 of the last 26 weeks.
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 sqlalchemyEasy async ORM for python, built with relations in mind
Actively maintained. Last release 7 weeks ago, commits in 20 of the last 26 weeks. A safe choice.
pip install tortoise-ormIn short
- SQLAlchemy is the most used: 429.4M downloads a month, 44× more than PyPika.
- Maintenance is comparable: SQLAlchemy 88, tortoise-orm 87, ormar 84, PyPika 61 on Pythie’s Index.
- tortoise-orm is growing fastest: downloads +14% over the last month.
- Safe default for a new project: SQLAlchemy.
Side by side
| Metric | ormar | PyPika | SQLAlchemy | tortoise-orm |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | 61 |