Comparison
chalk-viztracer vs django-cprofile-middleware vs py-spy vs pyinstrument
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A debugging and profiling tool that can trace and visualize python code execution (Chalk fork)
Maintained. Last release 4 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install chalk-viztracerEasily add cProfile profiling to django views.
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install django-cprofile-middlewareSampling profiler for Python programs
Actively maintained. Last release 2 weeks ago, commits in 8 of the last 26 weeks. A safe choice.
pip install py-spyCall stack profiler for Python. Shows you why your code is slow!
Actively maintained. Last release 6 days ago, commits in 12 of the last 26 weeks. A safe choice.
pip install pyinstrumentIn short
- django-cprofile-middleware looks abandoned: avoid it for new projects.
- py-spy is the most used: 21.7M downloads a month, 2.3× more than pyinstrument.
- Maintenance is comparable: pyinstrument 76, py-spy 71, chalk-viztracer 46 on Pythie’s Index.
- py-spy is growing fastest: downloads +11% over the last month.
- chalk-viztracer is the newcomer: first released Aug 2026.
- Safe default for a new project: py-spy.
Side by side
| Metric | chalk-viztracer | django-cprofile-middleware | py-spy | pyinstrument |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 46 | Pythie’s Index: 17 | Pythie’s Index: 71 | Pythie’s Index: 76 |
| Verdict | Maintained | Likely abandoned | Actively maintained | Actively maintained |
| Downloads / month | 91.3K | 104.3K | 21.7M | 9.5M |
| Downloads, month over month | -87% | +9% | +11% | +7% |
| GitHub stars | 0 | 152 | 15.7K | 8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 1 | 25 | 81 |
| Last release | Aug 14, 2026 | Feb 20, 2020 | Nov 19, 2026 | Nov 27, 2026 |
| Releases, 12 months | 1 | 0 | 3 | 3 |
| Weeks with commits | 2 / 26 | 0 / 26 | 8 / 26 | 12 / 26 |
| Recent contributors | 8 | 9 | 36 | 12 |
| First release | Aug 2026 | Sep 2013 | Aug 2018 | Jun 2014 |
| Python versions | 3.10 – 3.14 | – | – | – |
| License | Apache-2.0 | MIT | MIT | non-standard |
| 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.