Comparison
CherryPy vs Flask vs klein vs sanic
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Object-Oriented HTTP framework
Low maintenance activity. Last release over 2 years ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install cherrypyA 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 kleinA 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, 163× more than sanic.
- Maintenance is comparable: Flask 55, klein 47, sanic 39, CherryPy 17 on Pythie’s Index.
- klein is growing fastest: downloads +27% over the last month.
Side by side
| Metric | CherryPy | Flask | klein | sanic |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 55 | Pythie’s Index: 47 | Pythie’s Index: 39 |
| Verdict | Low maintenance activity | Maintained | Maintained | Low maintenance activity |
| Downloads / month | 652.8K | 184.8M | 74K | 1.1M |
| Downloads, month over month | +12% | -2% | +27% | +9% |
| GitHub stars | 2K | 75.4K | 843 | 18.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 179 | 8.3K | 17 | 234 |
| Last release | Jun 14, 2024 | Feb 19, 2026 | Aug 12, 2024 | May 31, 2026 |
| Releases, 12 months | 0 | 1 | 0 | 3 |
| Weeks with commits | 2 / 26 | 7 / 26 | 12 / 26 | 0 / 26 |
| Recent contributors | 2 | 7 | 3 | 32 |
| First release | Dec 2005 | Apr 2010 | Jan 2013 | Oct 2016 |
| Python versions | 3.6 – 3.11 | – | 3.7 – 3.11 | 3.10 – 3.14 |
| License | BSD-3-Clause | 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.