Comparison
complexipy vs lizard vs pyscn vs xenon
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
An extremely fast Python library to calculate the cognitive complexity of Python files, written in Rust.
Actively maintained. Last release 3 weeks ago, commits in 24 of the last 26 weeks. A safe choice.
pip install complexipyA 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 21 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 pyscnMonitor code metrics for Python on your CI server
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install xenonIn short
- xenon is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- lizard is the most used: 2.3M downloads a month.
- Maintenance is comparable: lizard 93, pyscn 92, complexipy 84 on Pythie’s Index.
- complexipy is growing fastest: downloads +43% over the last month.
- pyscn is the newcomer: first released Sep 2025.
- Safe default for a new project: lizard.
Side by side
| Metric | complexipy | lizard | pyscn | xenon |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | 93 |