Comparison
argh vs arguably vs cappa vs decli
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Plain Python functions as CLI commands without boilerplate
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install arghThe best Python CLI library, arguably.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install arguablyDeclarative CLI argument parser.
Actively maintained. Last release 8 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
pip install cappaMinimal, easy-to-use, declarative cli tool
Low maintenance activity. Last release 18 months ago. Weaker on recent releases and release cadence.
pip install decliIn short
- argh is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- arguably is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- decli is the most used: 4.1M downloads a month, 3.0× more than argh.
- cappa is better maintained: Pythie’s Index 80 against 37.
Side by side
| Metric | argh | arguably | cappa | decli |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 16 | Pythie’s Index: 80 | Pythie’s Index: 37 |
| Verdict | Slowing down | Slowing down | Actively maintained | Low maintenance activity |
| Downloads / month | 1.3M | 33.3K | 64.5K | 4.1M |
| Downloads, month over month | -7% | -48% | +1% | -2% |
| GitHub stars | 384 | 418 | 211 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 130 | 16 | 23 | 1 |
| Last release | Jul 13, 2024 | May 10, 2024 | Oct 9, 2026 | Jun 1, 2025 |
| Releases, 12 months | 0 | 0 | 5 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 11 / 26 | – |
| Recent contributors | 5 | 1 | 4 | – |
| First release | Nov 2010 | Jun 2023 | Sep 2023 | Aug 2018 |
| Python versions | 3.8 – 3.13 | 3.9 – 3.12 | – | 3.9 – 3.13 |
| License | non-standard | unknown | Apache-2.0 | 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.