Comparison
APIFlask vs Django vs fastapi vs flask-smorest
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A lightweight web API framework based on Flask.
Actively maintained. Last release 5 weeks ago, commits in 9 of the last 26 weeks. A safe choice.
pip install apiflaskA high-level Python web framework that encourages rapid development and clean, pragmatic design.
Actively maintained. Last release 4 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install djangoFastAPI framework, high performance, easy to learn, fast to code, ready for production
Actively maintained. Last release 1 day ago, commits in 23 of the last 26 weeks. A safe choice.
pip install fastapiFlask/Marshmallow-based REST API framework
Maintained. Last release 9 months ago, commits in 9 of the last 26 weeks. Weaker on release cadence.
pip install flask-smorestIn short
- fastapi is the most used: 562.8M downloads a month, 11× more than Django.
- Maintenance is comparable: Django 91, fastapi 87, APIFlask 77, flask-smorest 60 on Pythie’s Index.
- Safe default for a new project: fastapi.
Side by side
| Metric | APIFlask | Django | fastapi | flask-smorest |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | Pythie’s Index: 91 | Pythie’s Index: 87 | Pythie’s Index: 60 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 231.3K | 52.5M | 562.8M | 324.6K |
| Downloads, month over month | +3% | +4% | +10% | -6% |
| GitHub stars | 1.1K | 91.3K | 105.3K | 716 |
| Stars, last 7 days | +0 | +-445 | +304 | +0 |
| Direct dependents | 3 | 1.1K | 0 | 17 |
| Last release | Nov 2, 2026 | Dec 2, 2026 | Dec 5, 2026 | Mar 22, 2026 |
| Releases, 12 months | 4 | 33 | 117 | 1 |
| Weeks with commits | 9 / 26 | 26 / 26 | 23 / 26 | 9 / 26 |
| Recent contributors | 12 | 40 | 2 | 4 |
| First release | Jan 2021 | May 2010 | Dec 2018 | Sep 2019 |
| Python versions | 3.9 – 3.14 | 3.12 – 3.15 | 3.11 – 3.15 | 3.10 – 3.13 |
| License | MIT | BSD-3-Clause | MIT | MIT |
| 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.