Comparison
flask-apispec vs flask-openapi3 vs flask-restx vs flask-swagger
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Build and document REST APIs with Flask and apispec
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install flask-apispecGenerate REST API and OpenAPI documentation for your Flask project.
Maintained. Last release 7 months ago, commits in 7 of the last 26 weeks. Weaker on release cadence.
pip install flask-openapi3Fully featured framework for fast, easy and documented API development with Flask
Low maintenance activity. Last release 14 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install flask-restxExtract swagger specs from your flask project
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install flask-swaggerIn short
- flask-apispec looks abandoned: avoid it for new projects.
- flask-swagger looks abandoned: avoid it for new projects.
- flask-restx is the most used: 1.5M downloads a month, 2.5× more than flask-openapi3.
- flask-openapi3 is better maintained: Pythie’s Index 58 against 28.
- flask-openapi3 is growing fastest: downloads +16% over the last month.
Side by side
| Metric | flask-apispec | flask-openapi3 | flask-restx | flask-swagger |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 58 | Pythie’s Index: 28 | Pythie’s Index: 20 |
| Verdict | Likely abandoned | Maintained | Low maintenance activity | Likely abandoned |
| Downloads / month | 292.2K | 606.2K | 1.5M | 135.6K |
| Downloads, month over month | +8% | +16% | +1% | -7% |
| GitHub stars | 652 | 271 | 2.2K | 455 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 8 | 45 | 94 | 14 |
| Last release | Aug 11, 2022 | May 9, 2026 | Sep 23, 2025 | Mar 26, 2019 |
| Releases, 12 months | 0 | 2 | 0 | 0 |
| Weeks with commits | 0 / 26 | 7 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 22 | 17 | 22 | 25 |
| First release | Nov 2015 | May 2021 | Jan 2020 | Mar 2015 |
| Python versions | – | 3.10 – 3.14 | 3.9 – 3.12 | 3.4 |
| License | MIT | MIT | BSD-3-Clause | 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.