Comparison
commented-configparser vs configobj vs iniconfig vs INITools
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A custom ConfigParser class that preserves comments and most formatting when writing loaded config out.
Maintained. Last release 5 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install commented-configparserConfig 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 configobjbrain-dead simple config-ini parsing
Maintained. Last release 8 weeks ago, commits in 7 of the last 26 weeks. Weaker on release cadence.
pip install iniconfigTools for parsing and using INI-style files
Likely abandoned. No release or commit for years (last release over 16 years ago).
pip install initoolsIn short
- INITools looks abandoned: avoid it for new projects.
- iniconfig is the most used: 984.5M downloads a month, 171× more than configobj.
- iniconfig also has the best Pythie’s Index (64).
- iniconfig is growing fastest: downloads +10% over the last month.
- Safe default for a new project: iniconfig.
Side by side
| Metric | commented-configparser | configobj | iniconfig | INITools |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 46 | 24 |