Comparison
complexipy vs flake8-cognitive-complexity 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 3 weeks ago, commits in 24 of the last 26 weeks. A safe choice.
pip install complexipyAn extension for flake8 that validates cognitive functions complexity
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install flake8-cognitive-complexityA 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 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
- flake8-cognitive-complexity looks abandoned: avoid it for new projects.
- mccabe is the most used: 70M downloads a month, 31× more than lizard.
- lizard is better maintained: Pythie’s Index 93 against 22.
- complexipy is growing fastest: downloads +43% over the last month.
Side by side
| Metric | complexipy | flake8-cognitive-complexity | lizard | mccabe |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | Pythie’s Index: 19 | Pythie’s Index: 93 | Pythie’s Index: 22 |
| Verdict | Actively maintained | Likely abandoned | Actively maintained | Low maintenance activity |
| Downloads / month | 2.1M | 282.5K | 2.3M | 70M |
| Downloads, month over month | +43% | +1% | +35% | -3% |
| GitHub stars | 931 | 71 | 2.6K | 685 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 11 | 5 | 59 | 194 |
| Last release | Nov 13, 2026 | Aug 1, 2020 | Nov 16, 2026 | Jan 24, 2022 |
| Releases, 12 months | 20 | 0 | 19 | 0 |
| Weeks with commits | 24 / 26 | 0 / 26 | 21 / 26 | 2 / 26 |
| Recent contributors | 1 | 4 | 15 | 21 |
| First release | Feb 2024 | Oct 2019 | Sep 2013 | Feb 2013 |
| Python versions | 3.8 – 3.15 | 3.6 – 3.8 | 3.8 – 3.14 | 3.6 – 3.10 |
| License | MIT | 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.