Comparison
args vs click vs jsonargparse vs simple-parsing
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Command Arguments for Humans.
Archived. The repository is read-only: no more fixes or releases will come.
pip install argsComposable command line interface toolkit
Actively maintained. Last release 4 weeks ago, commits in 20 of the last 26 weeks. A safe choice.
pip install clickMinimal 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 jsonargparseA small utility to simplify and clean up argument parsing scripts.
Maintained. Last release 4 months ago. Weaker on release cadence.
pip install simple-parsingIn short
- args is archived: avoid it for new projects.
- click is the most used: 1.1B downloads a month, 544× more than simple-parsing.
- Maintenance is comparable: click 93, jsonargparse 85, simple-parsing 67 on Pythie’s Index.
- click is growing fastest: downloads +16% over the last month.
- Safe default for a new project: click.
Side by side
| Metric | args | click | jsonargparse | simple-parsing |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 4 | 93 |