Comparison
configparser vs configparser2 vs iniconfig
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Updated configparser from stdlib for earlier Pythons.
Maintained. Last release 6 weeks ago, commits in 10 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install configparserThis library brings the updated configparser from Python 3.5 to Python 2.6-3.5.
Likely abandoned. No release or commit for years (last release over 11 years ago).
$
pip install configparser2brain-dead simple config-ini parsing
Maintained. Last release 8 weeks ago, commits in 9 of the last 26 weeks. Weaker on release cadence.
$
pip install iniconfigIn short
- configparser2 looks abandoned: avoid it for new projects.
- iniconfig is the most used: 981.1M downloads a month, 126× more than configparser.
- Maintenance is comparable: iniconfig 68, configparser 65 on Pythie’s Index.
- iniconfig is growing fastest: downloads +10% over the last month.
- Safe default for a new project: iniconfig.
Side by side
| Metric | configparser | configparser2 | iniconfig |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 65 | 19 |