Comparison
config vs ConfigArgParse vs setoptconf
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A hierarchical, easy-to-use, powerful configuration module for Python
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install configA 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 configargparseA module for retrieving program settings from various sources in a consistant method.
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install setoptconfIn short
- config looks abandoned: avoid it for new projects.
- setoptconf looks abandoned: avoid it for new projects.
- ConfigArgParse is the most used: 22.1M downloads a month, 39× more than config.
- ConfigArgParse also has the best Pythie’s Index (85).
- ConfigArgParse is growing fastest: downloads +12% over the last month.
- Safe default for a new project: ConfigArgParse.
Side by side
| Metric | config | ConfigArgParse | setoptconf |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 85 | Pythie’s Index: 13 |
| Verdict | Likely abandoned | Actively maintained | Likely abandoned |
| Downloads / month | 566.2K | 22.1M | 82.1K |
| Downloads, month over month | -4% | +12% | -4% |
| GitHub stars | – | 762 | 3 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 24 | 347 | 1 |
| Last release | Sep 11, 2021 | Nov 19, 2026 | Sep 9, 2021 |
| Releases, 12 months | 0 | 10 | 0 |
| Weeks with commits | – | 10 / 26 | 0 / 26 |
| Recent contributors | – | 18 | 2 |
| First release | Jun 2013 | Jun 2014 | Feb 2014 |
| Python versions | 3.6 – 3.7 | 3.6 – 3.15 | – |
| License | non-standard | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.