Comparison
ormar vs prisma vs sqlmodel 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 prismaSQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness.
Actively maintained. Last release 2 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install sqlmodelEasy 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.
- sqlmodel is the most used: 28.7M downloads a month, 19× more than prisma.
- Maintenance is comparable: sqlmodel 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: sqlmodel.
Side by side
| Metric | ormar | prisma | sqlmodel | tortoise-orm |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | 4 |