Comparison
commented-configparser vs configparser2 vs iniparse 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-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 iniparseTools 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
- configparser2 looks abandoned: avoid it for new projects.
- INITools looks abandoned: avoid it for new projects.
- iniparse is the most used: 223.6K downloads a month.
- iniparse also has the best Pythie’s Index (65).
- iniparse is growing fastest: downloads +15% over the last month.
- Safe default for a new project: iniparse.
Side by side
| Metric | commented-configparser | configparser2 | iniparse | INITools |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 46 | 19 |