Comparison
clize vs docopt vs jsonargparse vs mando
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Turn functions into command-line interfaces
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install clizePythonic argument parser, that will make you smile
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install docoptMinimal 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
- clize is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- docopt looks abandoned: avoid it for new projects.
- 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.9M downloads a month.
- jsonargparse also has the best Pythie’s Index (85).
- jsonargparse is growing fastest: downloads +14% over the last month.
- Safe default for a new project: jsonargparse.
Side by side
| Metric | clize | docopt | jsonargparse | mando |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 16 | Pythie’s Index: 19 | Pythie’s Index: 85 | Pythie’s Index: 27 |
| Verdict | Slowing down | Likely abandoned | Actively maintained | Slowing down |
| Downloads / month | 87K | 25.4M | 1.9M | 8.2M |
| Downloads, month over month | +11% | +12% | +14% | +26% |
| GitHub stars | 493 | – | 434 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 21 | 1.8K | 0 | 3 |
| Last release | Jul 9, 2023 | Jun 16, 2014 | Oct 26, 2026 | Oct 20, 2024 |
| Releases, 12 months | 0 | 0 | 11 | 0 |
| Weeks with commits | 0 / 26 | – | 24 / 26 | – |
| Recent contributors | 8 | – | 6 | – |
| First release | Dec 2011 | Apr 2012 | Aug 2019 | Dec 2013 |
| Python versions | 3.6 – 3.10 | 3.2 – 3.3 | 3.10 – 3.15 | 3.3 – 3.13 |
| License | MIT | 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.