A custom ConfigParser class that preserves comments and most formatting when writing loaded config out. Version 3.0.0 supports Python >=3.9. Release cadence is irregular.
pip install commented-configparserNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Read, modify, and write an INI file preserving comments and formatting.
Upgrade to Python >=3.9 and adapt any custom subclasses to new internal representation.
Always use CommentedConfigParser for both reading and writing if you want to preserve comments.
Check the written file if exact formatting of multiline values is critical.
No dependency data recorded yet.