Comparison
config vs ConfigArgParse vs donfig vs setoptconf-tmp
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 12 days ago, commits in 10 of the last 26 weeks. A safe choice.
pip install configargparsePython package for configuring a python package
Maintained. Last release over 2 years ago, commits in 10 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install donfigA 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 setoptconf-tmpIn short
- config looks abandoned: avoid it for new projects.
- setoptconf-tmp looks abandoned: avoid it for new projects.
- ConfigArgParse is the most used: 22.1M downloads a month, 3.9× more than donfig.
- ConfigArgParse also has the best Pythie’s Index (85).
- donfig is growing fastest: downloads +14% over the last month.
- Safe default for a new project: ConfigArgParse.
Side by side
| Metric | config | ConfigArgParse | donfig | setoptconf-tmp |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 85 | Pythie’s Index: 50 | Pythie’s Index: 17 |
| Verdict | Likely abandoned | Actively maintained | Maintained | Likely abandoned |
| Downloads / month | 566.2K | 22.1M | 5.7M | 274.6K |
| Downloads, month over month | -4% | +12% | +14% | +1% |
| GitHub stars | – | 762 | 42 | 0 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 24 | 347 | 31 | 4 |
| Last release | Sep 11, 2021 | Nov 19, 2026 | May 23, 2024 | Sep 8, 2021 |
| Releases, 12 months | 0 | 10 | 0 | 0 |
| Weeks with commits | – | 10 / 26 | 10 / 26 | 0 / 26 |
| Recent contributors | – | 18 | 3 | 2 |
| First release | Jun 2013 | Jun 2014 | Nov 2018 | Sep 2021 |
| Python versions | 3.6 – 3.7 | 3.6 – 3.15 | – | 3.6 – 3.9 |
| License | non-standard | MIT | 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.