iniconfig is a small, simple INI file parser module for Python. It preserves the order of sections and entries, supports multi-line values and “#” comments, and reports errors with proper line numbers, with an Error raised if two sections share the same name.
Project status
- Actively maintained: The source shows very recent activity, with an upstream push on 2026-10-06 and a corresponding v2.3.1 updates entry the next second, indicating ongoing development.
- Update cadence: There was a quick follow-up (v2.3.1 on 2026-10-06) after v2.3.0 on 2025-10-18, suggesting an approximately yearly larger update cycle with short-gap follow-up updates as needed.
AI summary generated
Recent updates
v2.3.1
Version v2.3.1 focuses on fixing INI parsing performance for values with many continuation lines and improving robustness when encountering a leading UTF-8 BOM. It also updates internal parsing internals to represent continuation values as a list of lines before joining them once. Documentation and tooling metadata were adjusted as well.
v2.3.0
Version 2.3.0 adds a new IniConfig.parse() classmethod that can strip inline comments from values and introduces options related to Unicode whitespace handling. The implementation centralizes parsing logic in _parse.parse_ini_data and routes both IniConfig() and IniConfig.parse() through it with different defaults for comment stripping.
Featuresv2.2.0
This release (v2.2.0) includes significant packaging and tooling changes, modernization for Python 3.10+ (and dropping Python 3.8 and 3.9), and a type-level refactor in the INI parsing internals. No publisher release notes were provided, so the changes below are inferred directly from the code and config diffs.
v2.1.0
v2.1.0 is primarily a tooling and packaging update: it updates CI to test against Python 3.8-3.13, changes the publish action to use pypa/gh-action-pypi-publish@release/v1, and raises the project minimum Python version. The only library code-level changes in the diff are minor typing-import adjustments under TYPE_CHECKING.
BreakingFeaturesv2.0.0
This release, v2.0.0 ("unicode maniac"), does not include any publisher-provided release notes. As a result, there is no documented information here about new features, breaking changes, bug fixes, security updates, performance improvements, or migration steps.