Comparison
commented-configparser vs configparser vs configparser2 vs iniparse
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-configparserUpdated 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, 36× more than iniparse.
- Maintenance is comparable: iniparse 65, configparser 61, commented-configparser 46 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 | commented-configparser | configparser | configparser2 | iniparse |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 46 | Pythie’s Index: 61 | Pythie’s Index: 19 | Pythie’s Index: 65 |
| Verdict | Maintained | Maintained | Likely abandoned | Maintained |
| Downloads / month | 214.2K | 8M | 80.6K | 223.6K |
| Downloads, month over month | +9% | -3% | +13% | +15% |
| GitHub stars | 10 | 62 | 1 | 18 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 962 | 3 | 7 |
| Last release | Oct 25, 2026 | Oct 22, 2026 | May 12, 2015 | Nov 3, 2026 |
| Releases, 12 months | 1 | 1 | 0 | 2 |
| Weeks with commits | 1 / 26 | 8 / 26 | 0 / 26 | 4 / 26 |
| Recent contributors | 2 | 5 | 3 | 21 |
| First release | Nov 2022 | Apr 2011 | May 2015 | Jul 2007 |
| Python versions | – | – | 3.2 – 3.4 | 3.9 – 3.15 |
| License | MIT | 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.