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 repo shows recent upstream activity (last push on 2026-05-11), and library updates have been published in 2025 (v2.1.0, v2.2.0, v2.3.0).
- Update cadence: Notably spaced releases, v2.1.0 in 2025-03-24, then v2.2.0 and v2.3.0 both on 2025-10-18 (a close follow-up), followed by no new tagged updates in the provided history after v2.3.0.
AI summary generated 2 weeks ago
Recent updates
v2.3.0
7 months agoVersion 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
7 months agoThis 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
3/24/2025v2.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
1/7/2023This 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.