Comparison
ConfigArgParse vs jsonargparse vs prime-pydantic-config vs tyro
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 12 days ago, commits in 9 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 jsonargparsePydantic-driven CLI with TOML/YAML config file support for ML
Maintained. Last release 3 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install prime-pydantic-configCLI interfaces & config objects, from types
Actively maintained. Last release 4 weeks ago, commits in 7 of the last 26 weeks. A safe choice.
pip install tyroIn short
- ConfigArgParse is the most used: 21.7M downloads a month.
- Maintenance is comparable: jsonargparse 85, ConfigArgParse 83, tyro 72, prime-pydantic-config 62 on Pythie’s Index.
- tyro is growing fastest: downloads +57% over the last month.
- prime-pydantic-config is the newcomer: first released May 2026.
- Safe default for a new project: ConfigArgParse.
Side by side
| Metric | ConfigArgParse | jsonargparse | prime-pydantic-config | tyro |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 85 | Pythie’s Index: 62 | Pythie’s Index: 72 |
| Verdict | Actively maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 21.7M | 1.7M | 4.4M | 15.4M |
| Downloads, month over month | +11% | -1% | +24% | +57% |
| GitHub stars | 762 | 434 | 5 | 1.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 347 | 0 | 2 | 200 |
| Last release | Nov 19, 2026 | Oct 26, 2026 | Aug 18, 2026 | Nov 4, 2026 |
| Releases, 12 months | 10 | 11 | 16 | 18 |
| Weeks with commits | 9 / 26 | 24 / 26 | 2 / 26 | 7 / 26 |
| Recent contributors | 18 | 6 | 6 | 11 |
| First release | Jun 2014 | Aug 2019 | May 2026 | Oct 2022 |
| Python versions | 3.6 – 3.15 | 3.10 – 3.15 | – | 3.8 – 3.14 |
| License | MIT | MIT | unknown | 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.