Comparison
configobj vs configparser2 vs iniconfig vs tini
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 configobjThis 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 8 of the last 26 weeks. Weaker on release cadence.
pip install iniconfigRead simple .ini/configuration files.
Low maintenance activity. Last release 24 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install tiniIn short
- configparser2 looks abandoned: avoid it for new projects.
- iniconfig is the most used: 981.1M downloads a month, 175× more than configobj.
- iniconfig also has the best Pythie’s Index (66).
- iniconfig is growing fastest: downloads +10% over the last month.
- Safe default for a new project: iniconfig.
Side by side
| Metric | configobj | configparser2 | iniconfig | tini |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 24 | 19 |