Comparison
configobj vs configparser vs configparser2 vs iniconfig
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Config file reading, writing and validation.
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install configobjUpdated 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, configobj 24 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 | configobj | configparser | configparser2 | iniconfig |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 24 | Pythie’s Index: 65 | Pythie’s Index: 19 | Pythie’s Index: 68 |
| Verdict | Low maintenance activity | Maintained | Likely abandoned | Maintained |
| Downloads / month | 5.6M | 7.8M | 74.8K | 981.1M |
| Downloads, month over month | +4% | -3% | +5% | +10% |
| GitHub stars | 339 | 62 | 1 | 66 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 309 | 962 | 3 | 147 |
| Last release | Sep 21, 2024 | Oct 22, 2026 | May 12, 2015 | Oct 6, 2026 |
| Releases, 12 months | 0 | 1 | 0 | 1 |
| Weeks with commits | 0 / 26 | 10 / 26 | 0 / 26 | 9 / 26 |
| Recent contributors | 8 | 5 | 3 | 13 |
| First release | Feb 2007 | Apr 2011 | May 2015 | Oct 2010 |
| Python versions | 3.7 – 3.12 | – | 3.2 – 3.4 | 3.10 – 3.15 |
| License | BSD-3-Clause | 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.