Comparison
complexipy vs lizard vs mccabe
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 2 weeks ago, commits in 23 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 20 of the last 26 weeks. A safe choice.
pip install lizardMcCabe checker, plugin for flake8
Low maintenance activity. Last release over 4 years ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install mccabeIn short
- mccabe is the most used: 71.7M downloads a month, 32× more than lizard.
- lizard is better maintained: Pythie’s Index 93 against 22.
- complexipy is growing fastest: downloads +37% over the last month.
Side by side
| Metric | complexipy | lizard | mccabe |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | 93 |