Comparison
cognitive-complexity vs flake8-cognitive-complexity
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Library to calculate Python functions cognitive complexity via code
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install cognitive-complexityAn 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-complexityIn short
- cognitive-complexity looks abandoned: avoid it for new projects.
- flake8-cognitive-complexity looks abandoned: avoid it for new projects.
Side by side
| Metric | cognitive-complexity | flake8-cognitive-complexity |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 20 | 19 |