Comparison
prisma vs PyPika vs SQLAlchemy vs tortoise-orm
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Prisma 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 prismaA 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
- prisma is archived: avoid it for new projects.
- SQLAlchemy is the most used: 429.4M downloads a month, 44× more than PyPika.
- Maintenance is comparable: SQLAlchemy 88, tortoise-orm 87, 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 | prisma | PyPika | SQLAlchemy | tortoise-orm |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 4 | Pythie’s Index: 61 | Pythie’s Index: 88 | Pythie’s Index: 87 |
| Verdict | Archived | Maintained | Actively maintained | Actively maintained |
| Downloads / month | 1.5M | 9.7M | 429.4M | 700.4K |
| Downloads, month over month | +33% | +8% | +12% | +14% |
| GitHub stars | 2.1K | 2.9K | 12.3K | 5.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 13 | 49 | 10.5K | 135 |
| Last release | Aug 16, 2024 | Feb 4, 2026 | Nov 16, 2026 | Oct 14, 2026 |
| Releases, 12 months | 0 | 3 | 29 | 14 |
| Weeks with commits | 0 / 26 | 6 / 26 | 26 / 26 | 20 / 26 |
| Recent contributors | 5 | 58 | 12 | 49 |
| First release | Oct 2021 | Jul 2016 | Feb 2006 | Mar 2018 |
| Python versions | 3.8 – 3.12 | – | 3.11 – 3.15 | 3.10 – 3.14 |
| License | Apache-2.0 | 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.