Comparison
argbind vs argh vs autocommand vs ConfigArgParse
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 library to create a command-line program from a function
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install autocommandA 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 configargparseIn 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.
- autocommand looks abandoned: avoid it for new projects.
- ConfigArgParse is the most used: 21.7M downloads a month, 16× more than argh.
- ConfigArgParse also has the best Pythie’s Index (83).
- ConfigArgParse is growing fastest: downloads +11% over the last month.
- Safe default for a new project: ConfigArgParse.
Side by side
| Metric | argbind | argh | autocommand | ConfigArgParse |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 12 | Pythie’s Index: 8 | Pythie’s Index: 83 |
| Verdict | Slowing down | Slowing down | Likely abandoned | Actively maintained |
| Downloads / month | 730.4K | 1.3M | 1.3M | 21.7M |
| Downloads, month over month | -13% | -7% | +14% | +11% |
| GitHub stars | 48 | 384 | 59 | 762 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 12 | 130 | 22 | 347 |
| Last release | May 24, 2024 | Jul 13, 2024 | Nov 18, 2022 | Nov 19, 2026 |
| Releases, 12 months | 0 | 0 | 0 | 10 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 9 / 26 |
| Recent contributors | 3 | 5 | 4 | 18 |
| First release | Oct 2020 | Nov 2010 | Mar 2015 | Jun 2014 |
| Python versions | 3.6 – 3.8 | 3.8 – 3.13 | – | 3.6 – 3.15 |
| License | MIT | non-standard | LGPL-3.0 | 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.