Comparison
deadcode vs lizard vs pyscn vs unref
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Find and fix unused Python code using command line.
Maintained. Last release 2 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install deadcodeA code analyzer without caring the C/C++ header files. It works with Java, C/C++, JavaScript, Python, Ruby, Swift, Objective C. Metrics includes cyclomatic complexity number etc.
Actively maintained. Last release 2 weeks ago, commits in 19 of the last 26 weeks. A safe choice.
pip install lizardAn intelligent Python code quality analyzer with architectural guidance
Actively maintained. Last release 3 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pyscnAn extremely fast Python dead code finder, written in Rust.
Maintained. Last release 2 days ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install unrefIn short
- lizard is the most used: 2.3M downloads a month, 6.3× more than deadcode.
- Maintenance is comparable: lizard 93, pyscn 92, deadcode 67, unref 60 on Pythie’s Index.
- deadcode is growing fastest: downloads +56% over the last month.
- unref is the newcomer: first released Nov 2026.
- Safe default for a new project: lizard.
Side by side
| Metric | deadcode | lizard | pyscn | unref |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 67 | Pythie’s Index: 93 | Pythie’s Index: 92 | Pythie’s Index: 60 |
| Verdict | Maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 366.9K | 2.3M | 269K | 178.2K |
| Downloads, month over month | +56% | +39% | +43% | – |
| GitHub stars | 179 | 2.6K | 1.1K | 169 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 59 | 2 | 0 |
| Last release | Nov 16, 2026 | Nov 16, 2026 | Nov 8, 2026 | Nov 30, 2026 |
| Releases, 12 months | 6 | 19 | 78 | 23 |
| Weeks with commits | 4 / 26 | 19 / 26 | 26 / 26 | 3 / 26 |
| Recent contributors | 3 | 17 | 13 | 3 |
| First release | Jun 2023 | Sep 2013 | Sep 2025 | Nov 2026 |
| Python versions | 3.10 – 3.15 | 3.8 – 3.14 | 3.8 – 3.13 | 3.11 – 3.15 |
| License | AGPL-3.0 | MIT | 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.