Comparison
ConfigArgParse vs jsonargparse vs targ vs typer
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
Actively maintained. Last release 11 days ago, commits in 10 of the last 26 weeks. A safe choice.
pip install configargparseMinimal 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 jsonargparseBuild 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 targTyper, build great CLIs. Easy to code. Based on Python type hints.
Actively maintained. Last release 4 days ago, commits in 20 of the last 26 weeks. A safe choice.
pip install typerIn short
- typer is the most used: 314.1M downloads a month, 14× more than ConfigArgParse.
- Maintenance is comparable: typer 88, ConfigArgParse 85, jsonargparse 85, targ 44 on Pythie’s Index.
- targ is growing fastest: downloads +28% over the last month.
- Safe default for a new project: typer.
Side by side
| Metric | ConfigArgParse | jsonargparse | targ | typer |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | Pythie’s Index: 85 | Pythie’s Index: 44 | Pythie’s Index: 88 |
| Verdict | Actively maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 22.1M | 1.9M | 694.5K | 314.1M |
| Downloads, month over month | +12% | +14% | +28% | +11% |
| GitHub stars | 762 | 434 | 22 | 20.5K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 347 | 0 | 2 | 21K |
| Last release | Nov 19, 2026 | Oct 26, 2026 | Jul 19, 2026 | Nov 26, 2026 |
| Releases, 12 months | 10 | 11 | 1 | 31 |
| Weeks with commits | 10 / 26 | 24 / 26 | 2 / 26 | 20 / 26 |
| Recent contributors | 18 | 6 | 5 | 3 |
| First release | Jun 2014 | Aug 2019 | Apr 2020 | Dec 2019 |
| Python versions | 3.6 – 3.15 | 3.10 – 3.15 | 3.10 – 3.14 | 3.11 – 3.15 |
| 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.