Comparison
argh vs decli vs targ
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 arghMinimal, easy-to-use, declarative cli tool
Low maintenance activity. Last release 18 months ago. Weaker on commit activity and recent releases.
$
pip install decliBuild a Python CLI for your app, just using type hints and docstrings.
Maintained. Last release 4 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install targIn short
- argh is slowing down (last release over 2 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.
- Maintenance is comparable: targ 44, decli 37 on Pythie’s Index.
- targ is growing fastest: downloads +28% over the last month.
Side by side
| Metric | argh | decli | targ |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 37 | Pythie’s Index: 44 |
| Verdict | Slowing down | Low maintenance activity | Maintained |
| Downloads / month | 1.4M | 4.2M | 694.5K |
| Downloads, month over month | -9% | -1% | +28% |
| GitHub stars | 384 | – | 22 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 130 | 1 | 2 |
| Last release | Jul 13, 2024 | Jun 1, 2025 | Jul 19, 2026 |
| Releases, 12 months | 0 | 0 | 1 |
| Weeks with commits | 0 / 26 | – | 2 / 26 |
| Recent contributors | 5 | – | 5 |
| First release | Nov 2010 | Aug 2018 | Apr 2020 |
| Python versions | 3.8 – 3.13 | 3.9 – 3.13 | 3.10 – 3.14 |
| 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.