Comparison
confection vs ConfigArgParse vs draccus vs hydra-core
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The sweetest config system for Python
Maintained. Last release 5 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install confectionA 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 configargparseA slightly opinionated framework for simple dataclass-based configurations based on Pyrallis.
Maintained. Last release 6 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install draccusA framework for elegantly configuring complex applications
Actively maintained. Last release 5 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
pip install hydra-coreIn short
- confection is the most used: 23.5M downloads a month.
- ConfigArgParse is better maintained: Pythie’s Index 83 against 56.
- draccus is growing fastest: downloads +62% over the last month.
Side by side
| Metric | confection | ConfigArgParse | draccus | hydra-core |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 56 | Pythie’s Index: 83 | Pythie’s Index: 42 | Pythie’s Index: 79 |
| Verdict | Maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 23.5M | 21.7M | 1.6M | 17.7M |
| Downloads, month over month | +13% | +11% | +62% | +7% |
| GitHub stars | 194 | 762 | 100 | 10.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 19 | 347 | 11 | 22 |
| Last release | Oct 26, 2026 | Nov 19, 2026 | Jun 12, 2026 | Oct 25, 2026 |
| Releases, 12 months | 11 | 10 | 1 | 16 |
| Weeks with commits | 1 / 26 | 9 / 26 | 1 / 26 | 23 / 26 |
| Recent contributors | 1 | 18 | 13 | 3 |
| First release | Aug 2022 | Jun 2014 | Jun 2023 | Sep 2019 |
| Python versions | 3.10 – 3.15 | 3.6 – 3.15 | 3.9 – 3.10 | 3.7 – 3.11 |
| License | MIT | 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.