Comparison
argbind vs argh vs ConfigArgParse vs oslo.config
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 9 of the last 26 weeks. A safe choice.
pip install configargparseOslo Configuration API
Actively maintained. Last release 3 weeks ago. A safe choice.
pip install oslo-configIn 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: 21.7M downloads a month, 16× more than argh.
- Maintenance is comparable: oslo.config 84, ConfigArgParse 83 on Pythie’s Index.
- ConfigArgParse is growing fastest: downloads +11% over the last month.
- Safe default for a new project: ConfigArgParse.
Side by side
| Metric | argbind | argh | ConfigArgParse | oslo.config |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 12 | Pythie’s Index: 83 | Pythie’s Index: 84 |
| Verdict | Slowing down | Slowing down | Actively maintained | Actively maintained |
| Downloads / month | 730.4K | 1.3M | 21.7M | 1.1M |
| Downloads, month over month | -13% | -7% | +11% | -1% |
| GitHub stars | 48 | 384 | 762 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 12 | 130 | 347 | 230 |
| Last release | May 24, 2024 | Jul 13, 2024 | Nov 19, 2026 | Nov 11, 2026 |
| Releases, 12 months | 0 | 0 | 10 | 10 |
| Weeks with commits | 0 / 26 | 0 / 26 | 9 / 26 | – |
| Recent contributors | 3 | 5 | 18 | – |
| First release | Oct 2020 | Nov 2010 | Jun 2014 | Mar 2013 |
| Python versions | 3.6 – 3.8 | 3.8 – 3.13 | 3.6 – 3.15 | 3.11 – 3.15 |
| License | MIT | non-standard | MIT | Apache-2.0 |
| 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.