Comparison
ormar vs SQLAlchemy 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 ormarDatabase Abstraction Library
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install sqlalchemySQLModel, 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
- SQLAlchemy is the most used: 429.4M downloads a month, 15× more than sqlmodel.
- Maintenance is comparable: SQLAlchemy 88, 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: SQLAlchemy.
Side by side
| Metric | ormar | SQLAlchemy | sqlmodel | tortoise-orm |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | Pythie’s Index: 88 | Pythie’s Index: 88 | Pythie’s Index: 87 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 110.9K | 429.4M | 28.7M | 700.4K |
| Downloads, month over month | -7% | +12% | +9% | +14% |
| GitHub stars | 1.8K | 12.3K | 18.7K | 5.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 8 | 10.5K | 869 | 135 |
| Last release | Nov 16, 2026 | Nov 16, 2026 | Nov 13, 2026 | Oct 14, 2026 |
| Releases, 12 months | 11 | 29 | 23 | 14 |
| Weeks with commits | 26 / 26 | 26 / 26 | 21 / 26 | 20 / 26 |
| Recent contributors | 3 | 12 | 3 | 49 |
| First release | Aug 2020 | Feb 2006 | Aug 2021 | Mar 2018 |
| Python versions | 3.11 – 3.15 | 3.11 – 3.15 | 3.11 – 3.15 | 3.10 – 3.14 |
| License | MIT | MIT | 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.