Comparison
argbind vs argh vs ConfigArgParse vs tyro
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Simple way to bind function arguments to the command line.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install argbindPlain 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 arghA 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 10 of the last 26 weeks. A safe choice.
pip install configargparseCLI 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
- argbind is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- argh is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- ConfigArgParse is the most used: 22.1M downloads a month, 1.6× more than tyro.
- ConfigArgParse also has the best Pythie’s Index (85).
- tyro is growing fastest: downloads +53% over the last month.
- Safe default for a new project: ConfigArgParse.
Side by side
| Metric | argbind | argh | ConfigArgParse | tyro |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 12 | Pythie’s Index: 85 | Pythie’s Index: 72 |
| Verdict | Slowing down | Slowing down | Actively maintained | Actively maintained |
| Downloads / month | 731.8K | 1.4M | 22.1M | 13.9M |
| Downloads, month over month | -14% | -9% | +12% | +53% |
| GitHub stars | 48 | 384 | 762 | 1.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 12 | 130 | 347 | 200 |
| Last release | May 24, 2024 | Jul 13, 2024 | Nov 19, 2026 | Nov 4, 2026 |
| Releases, 12 months | 0 | 0 | 10 | 18 |
| Weeks with commits | 0 / 26 | 0 / 26 | 10 / 26 | 7 / 26 |
| Recent contributors | 3 | 5 | 18 | 11 |
| First release | Oct 2020 | Nov 2010 | Jun 2014 | Oct 2022 |
| Python versions | 3.6 – 3.8 | 3.8 – 3.13 | 3.6 – 3.15 | 3.8 – 3.14 |
| License | MIT | non-standard | 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.