Comparison
argh vs jsonargparse vs mando 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 effort CLIs derived from type hints and parse from command line, config files and environment variables.
Actively maintained. Last release 5 weeks ago, commits in 24 of the last 26 weeks. A safe choice.
pip install jsonargparseCreate Python CLI apps with little to no effort at all!
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install mandoBuild a Python CLI for your app, just using type hints and docstrings.
Maintained. Last release 4 months ago, commits in 3 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.
- mando is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- jsonargparse is the most used: 1.7M downloads a month.
- jsonargparse also has the best Pythie’s Index (85).
- targ is growing fastest: downloads +33% over the last month.
- Safe default for a new project: jsonargparse.
Side by side
| Metric | argh | jsonargparse | mando | targ |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 85 | Pythie’s Index: 27 | Pythie’s Index: 46 |
| Verdict | Slowing down | Actively maintained | Slowing down | Maintained |
| Downloads / month | 1.3M | 1.7M | 8.2M | 681.9K |
| Downloads, month over month | -7% | -1% | +26% | +33% |
| GitHub stars | 384 | 434 | – | 22 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 130 | 0 | 3 | 2 |
| Last release | Jul 13, 2024 | Oct 26, 2026 | Oct 20, 2024 | Jul 19, 2026 |
| Releases, 12 months | 0 | 11 | 0 | 1 |
| Weeks with commits | 0 / 26 | 24 / 26 | – | 3 / 26 |
| Recent contributors | 5 | 6 | – | 5 |
| First release | Nov 2010 | Aug 2019 | Dec 2013 | Apr 2020 |
| Python versions | 3.8 – 3.13 | 3.10 – 3.15 | 3.3 – 3.13 | 3.10 – 3.14 |
| License | non-standard | MIT | MIT | 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.