Comparison
ConfigArgParse vs confuse vs donfig vs oslo.config
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
Actively maintained. Last release 13 days ago, commits in 9 of the last 26 weeks. A safe choice.
pip install configargparsePainless YAML config files
Maintained. Last release 4 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and security practices.
pip install confusePython package for configuring a python package
Maintained. Last release over 2 years ago, commits in 7 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install donfigOslo Configuration API
Actively maintained. Last release 3 weeks ago. A safe choice.
pip install oslo-configIn short
- ConfigArgParse is the most used: 21.7M downloads a month, 3.9× more than donfig.
- Maintenance is comparable: oslo.config 84, ConfigArgParse 83, confuse 61, donfig 44 on Pythie’s Index.
- donfig is growing fastest: downloads +12% over the last month.
- Safe default for a new project: ConfigArgParse.
Side by side
| Metric | ConfigArgParse | confuse | donfig | oslo.config |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | 61 |