Comparison
ormar vs prisma 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 ormarPrisma Client Python is an auto-generated and fully type-safe database client
Archived. The repository is read-only: no more fixes or releases will come.
pip install prismaDatabase 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
- prisma is archived: avoid it for new projects.
- SQLAlchemy is the most used: 429.4M downloads a month, 287× more than prisma.
- Maintenance is comparable: SQLAlchemy 88, tortoise-orm 87, ormar 84 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 | prisma | SQLAlchemy | tortoise-orm |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | Pythie’s Index: 4 | Pythie’s Index: 88 | Pythie’s Index: 87 |
| Verdict | Actively maintained | Archived | Actively maintained | Actively maintained |
| Downloads / month | 110.9K | 1.5M | 429.4M | 700.4K |
| Downloads, month over month | -7% | +33% | +12% | +14% |
| GitHub stars | 1.8K | 2.1K | 12.3K | 5.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 8 | 13 | 10.5K | 135 |
| Last release | Nov 16, 2026 | Aug 16, 2024 | Nov 16, 2026 | Oct 14, 2026 |
| Releases, 12 months | 11 | 0 | 29 | 14 |
| Weeks with commits | 26 / 26 | 0 / 26 | 26 / 26 | 20 / 26 |
| Recent contributors | 3 | 5 | 12 | 49 |
| First release | Aug 2020 | Oct 2021 | Feb 2006 | Mar 2018 |
| Python versions | 3.11 – 3.15 | 3.8 – 3.12 | 3.11 – 3.15 | 3.10 – 3.14 |
| License | MIT | Apache-2.0 | MIT | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.