$npx skillfedfor your agent

iniparse

Accessing and Modifying INI files

With conditionsPyPI Python ModulesReleased Jan 2020403.6K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — iniparse-0.5-py2-none-any.whl · iniparse-0.5-py3-none-any.whl
v0.5 · released 2020-01-29 · 1 runtime deps: six

Yes, if you need to read and write INI files while preserving formatting and comments. iniparse is stable, permissively licensed, has no known vulnerabilities, and installs easily. It is a solid choice for config file handling in projects where structure preservation matters. However, if you only need basic INI parsing without formatting concerns, Python's built-in configparser may suffice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single runtime dependency (six).
  • Maintained as active, though the latest release was in 2020 and the repository has minimal activity (18 stars).
  • Suitable for stable, long-term use in projects that do not require frequent updates.

License · maintenance · safety

MIT (permissive) — Licensed under MIT, a permissive open-source license. You may use, modify, and distribute iniparse freely in commercial and private projects with minimal restrictions.

last release 2020-01-29 (2389 days) · last repo commit 2026-07-09 · 18 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 403,554 downloads/mo, #6,916 on PyPI

Verify before relying

pip install iniparse

from iniparse import INIConfig
cfg = INIConfig(open('config.ini'))
print(cfg.section.option)  # dotted notation access
  • Whether iniparse works reliably with modern Python versions beyond 3.4, given classifiers only list up to 3.4
  • Performance characteristics when handling large INI files or frequent read/write cycles
  • Compatibility with edge cases in INI syntax (e.g., duplicate keys, special characters in values)
Same gist for agents: .md · .json

What it is and what it does

iniparse is a Python INI file parser designed to read and write configuration files while preserving their original structure—comments, blank lines, indentation, and section order remain intact when the file is modified. This is especially valuable for config files that are edited both by users and by programs, where reformatting would be disorienting. The package provides backward-compatible implementations of ConfigParser, RawConfigParser, and SafeConfigParser from the Python standard library, so it can be used as a drop-in replacement. It also offers more convenient access patterns: configuration values can be read using dotted notation (e.g., `cfg.user.name`) or standard dictionary syntax (e.g., `cfg['user']['name']`).

The package depends only on six for Python 2/3 compatibility and installs with low friction. It has been stable since its 2007 release and is classified as Production/Stable. The repository is actively maintained but receives infrequent updates, reflecting its mature and settled state.

Use it for

  • Preserve user-edited INI files when a program needs to update configuration values programmatically
  • Build configuration management tools where maintaining file formatting and comments is important for user experience
  • Replace the standard ConfigParser in legacy Python projects that need structure preservation
  • Create image gallery or similar applications where the order of entries in a config file carries semantic meaning
  • Read and modify application settings files while keeping inline documentation and comments intact

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to read and write INI files while preserving formatting and comments.

iniparse is stable, permissively licensed, has no known vulnerabilities, and installs easily. It is a solid choice for config file handling in projects where structure preservation matters. However, if you only need basic INI parsing without formatting concerns, Python's built-in configparser may suffice.

Install

iniparse on PyPI

Before you install

Low install friction with a single runtime dependency (six). Maintained as active, though the latest release was in 2020 and the repository has minimal activity (18 stars). Suitable for stable, long-term use in projects that do not require frequent updates.

License in practice

Licensed under MIT, a permissive open-source license. You may use, modify, and distribute iniparse freely in commercial and private projects with minimal restrictions.

Quickstart

pip install iniparse

from iniparse import INIConfig
cfg = INIConfig(open('config.ini'))
print(cfg.section.option)  # dotted notation access

Verify before relying

  • Whether iniparse works reliably with modern Python versions beyond 3.4, given classifiers only list up to 3.4
  • Performance characteristics when handling large INI files or frequent read/write cycles
  • Compatibility with edge cases in INI syntax (e.g., duplicate keys, special characters in values)

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
six
MaintenanceActively maintained 2,389 days since the last release
Last repo commit
First released
Downloads403,554 / month, #6,916 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseLicense :: OSI Approved :: Python Software Foundation LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Topic :: Software Development :: Libraries :: Python Modules

Evidence: iniparse-0.5-py2-none-any.whl; iniparse-0.5-py3-none-any.whl

Tags

Capabilities
ini file parser pythonconfig file parser preserve formattingconfigparser alternativeini file structure preservationdotted notation config accessini parser maintain commentspython config file reader
Topics
config-file-parsingstructure-preservingini-format

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ini file structure preservation”

  • iniparseiniparse is an INI file parser that preserves formatting (comments,…
  • commented-configparserExtends Python's standard ConfigParser to preserve comments and…
  • configobjConfigObj reads, writes, and validates INI-format configuration files…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also commented-configparser · crudini · config-formatter · configobj · ConfigUpdater · imperfect · configparser · pyconfigurator · INITools · ConfigArgParse