Comparison
configobj vs configparser vs configparser2 vs iniparse
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 8 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 configparser2Accessing and Modifying INI files
Maintained. Last release 4 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install iniparseIn short
- configparser2 looks abandoned: avoid it for new projects.
- configparser is the most used: 8M downloads a month.
- Maintenance is comparable: iniparse 65, configparser 61, configobj 24 on Pythie’s Index.
- iniparse is growing fastest: downloads +15% over the last month.
- Safe default for a new project: configparser.
Side by side
| Metric | configobj | configparser | configparser2 | iniparse |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 24 | 61 |