Comparison
argh vs argparse-dataclass 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 arghDeclarative CLIs with argparse and dataclasses
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install argparse-dataclassMinimal, easy-to-use, declarative cli tool
Low maintenance activity. Last release 18 months ago. Weaker on commit activity and recent releases.
$
pip install decliIn short
- argh is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- argparse-dataclass is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- decli is the most used: 4.2M downloads a month, 3.1× more than argh.
- decli also has the best Pythie’s Index (37).
Side by side
| Metric | argh | argparse-dataclass | decli |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 28 | Pythie’s Index: 37 |
| Verdict | Slowing down | Slowing down | Low maintenance activity |
| Downloads / month | 1.4M | 599.2K | 4.2M |
| Downloads, month over month | -9% | +10% | -1% |
| GitHub stars | 384 | 96 | – |
| Stars, last 7 days | – | – | – |
| Direct dependents | 130 | 7 | 1 |
| Last release | Jul 13, 2024 | Jun 11, 2023 | Jun 1, 2025 |
| Releases, 12 months | 0 | 0 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | – |
| Recent contributors | 5 | 9 | – |
| First release | Nov 2010 | Dec 2019 | Aug 2018 |
| Python versions | 3.8 – 3.13 | 3.8 – 3.11 | 3.9 – 3.13 |
| License | non-standard | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.