Comparison
argh vs cleo vs jsonargparse vs mando
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 arghCleo allows you to create beautiful and testable command-line interfaces.
Low maintenance activity. Last release over 3 years ago, commits in 4 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install cleoMinimal 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 mandoIn 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.
- cleo is the most used: 42.2M downloads a month, 5.1× more than mando.
- jsonargparse is better maintained: Pythie’s Index 85 against 27.
Side by side
| Metric | argh | cleo | jsonargparse | mando |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 27 | Pythie’s Index: 85 | Pythie’s Index: 27 |
| Verdict | Slowing down | Low maintenance activity | Actively maintained | Slowing down |
| Downloads / month | 1.3M | 42.2M | 1.7M | 8.2M |
| Downloads, month over month | -7% | +0% | -1% | +26% |
| GitHub stars | 384 | 1.4K | 434 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 130 | 23 | 0 | 3 |
| Last release | Jul 13, 2024 | Oct 30, 2023 | Oct 26, 2026 | Oct 20, 2024 |
| Releases, 12 months | 0 | 0 | 11 | 0 |
| Weeks with commits | 0 / 26 | 4 / 26 | 24 / 26 | – |
| Recent contributors | 5 | 8 | 6 | – |
| First release | Nov 2010 | Mar 2014 | Aug 2019 | Dec 2013 |
| Python versions | 3.8 – 3.13 | 3.7 – 3.11 | 3.10 – 3.15 | 3.3 – 3.13 |
| 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.