Comparison
complexipy 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 2 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
$
pip install complexipyMonitor 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.
- complexipy is the most used: 2.1M downloads a month.
- complexipy also has the best Pythie’s Index (84).
- complexipy is growing fastest: downloads +37% over the last month.
- Safe default for a new project: complexipy.
Side by side
| Metric | complexipy | xenon |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | 27 |