Comparison
Flask vs klein vs pyramid vs sanic
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A simple framework for building complex web applications.
Maintained. Last release 9 months ago, commits in 7 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install flaskwerkzeug + twisted.web
Maintained. Last release over 2 years ago, commits in 12 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install kleinThe Pyramid Web Framework, a Pylons project
Actively maintained. Last release 6 days ago, commits in 8 of the last 26 weeks. A safe choice.
pip install pyramidA web server and web framework that's written to go fast. Build fast. Run fast.
Low maintenance activity. Last release 6 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install sanicIn short
- Flask is the most used: 184.8M downloads a month, 120× more than pyramid.
- pyramid is better maintained: Pythie’s Index 80 against 55.
- klein is growing fastest: downloads +27% over the last month.
Side by side
| Metric | Flask | klein | pyramid | sanic |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 55 | Pythie’s Index: 47 | Pythie’s Index: 80 | Pythie’s Index: 39 |
| Verdict | Maintained | Maintained | Actively maintained | Low maintenance activity |
| Downloads / month | 184.8M | 74K | 1.5M | 1.1M |
| Downloads, month over month | -2% | +27% | -26% | +9% |
| GitHub stars | 75.4K | 843 | 4.1K | 18.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 8.3K | 17 | 295 | 234 |
| Last release | Feb 19, 2026 | Aug 12, 2024 | Nov 26, 2026 | May 31, 2026 |
| Releases, 12 months | 1 | 0 | 7 | 3 |
| Weeks with commits | 7 / 26 | 12 / 26 | 8 / 26 | 0 / 26 |
| Recent contributors | 7 | 3 | 3 | 32 |
| First release | Apr 2010 | Jan 2013 | Nov 2010 | Oct 2016 |
| Python versions | – | 3.7 – 3.11 | 3.10 – 3.14 | 3.10 – 3.14 |
| License | BSD-3-Clause | MIT | LicenseRef-Repoze-BSD-derived | 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.