$npx skillfedfor your agent

config-formatter

An automatic formatter for .ini and .cfg configuration files

With conditionsPyPI Python ModulesReleased Nov 2023286.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — config_formatter-1.2.0-py3-none-any.whl
v1.2.0 · released 2023-11-18 · Python >=3.6 · 1 runtime deps: configupdater

Yes, if you need to programmatically format .ini or .cfg files. Low install friction, no security issues, and a stable MIT license make it a safe choice. The aging maintenance status (last release 2023-11-18) is a minor concern for long-term support, but the package is marked Production/Stable and the underlying dependency (configupdater) is widely used, so breakage risk is low for typical use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction—pure Python wheel with a single runtime dependency (configupdater).
  • Last release was 2023-11-18, and the repository remains active but shows aging maintenance signals (1000 days since last release as of the fact sheet date).

License · maintenance · safety

MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2023-11-18 (1000 days) · last repo commit 2025-06-15 · 15 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 285,996 downloads/mo, #8,050 on PyPI

Verify before relying

from config_formatter import ConfigFormatter

with open("config.ini", "r") as file:
    formatter = ConfigFormatter()
    formatted = formatter.prettify(file.read())
    print(formatted)
  • Whether the package handles edge cases in multiline values or complex comment placement reliably
  • Performance characteristics on very large configuration files
  • Whether configupdater's own maintenance status affects long-term compatibility
Same gist for agents: .md · .json

What it is and what it does

config-formatter is a Python library that reads .ini and .cfg configuration files and reformats them with standardized indentation, spacing, and key-value syntax. It preserves inline and block comments while normalizing inconsistent formatting—removing errant indentation, aligning multiline values, and unifying assignment operators (= vs :). The package wraps configupdater as its core dependency and exposes a simple ConfigFormatter class with a prettify() method.

It's designed for developers who need to programmatically clean up configuration files as part of build pipelines, linting workflows, or configuration management tools. The library supports Python 3.6 through 3.10 and runs on CPython and PyPy. With no known security vulnerabilities and a stable API, it's suitable for production use in scenarios where configuration file consistency matters.

Use it for

  • Normalize configuration files in a CI/CD pipeline before deployment to ensure consistent formatting across environments.
  • Lint and auto-fix .ini files in a configuration management tool or IDE plugin.
  • Reformat legacy or manually-edited config files to a standard before version control commit.
  • Programmatically clean up multiline configuration values with inconsistent indentation in application setup scripts.
  • Integrate into a build tool to enforce configuration file style as part of code quality checks.

Worth the install?

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

With conditions

Yes, if you need to programmatically format .ini or .cfg files.

Low install friction, no security issues, and a stable MIT license make it a safe choice. The aging maintenance status (last release 2023-11-18) is a minor concern for long-term support, but the package is marked Production/Stable and the underlying dependency (configupdater) is widely used, so breakage risk is low for typical use.

Install

config-formatter on PyPI

Before you install

Low friction—pure Python wheel with a single runtime dependency (configupdater). Last release was 2023-11-18, and the repository remains active but shows aging maintenance signals (1000 days since last release as of the fact sheet date).

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

from config_formatter import ConfigFormatter

with open("config.ini", "r") as file:
    formatter = ConfigFormatter()
    formatted = formatter.prettify(file.read())
    print(formatted)

Verify before relying

  • Whether the package handles edge cases in multiline values or complex comment placement reliably
  • Performance characteristics on very large configuration files
  • Whether configupdater's own maintenance status affects long-term compatibility

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
configupdater
MaintenanceAging 1,000 days since the last release
Last repo commit
First released
Downloads285,996 / month, #8,050 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 LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance

Evidence: config_formatter-1.2.0-py3-none-any.whl

Tags

Capabilities
ini file formattercfg configuration formatterconfig file beautifiernormalize ini syntaxconfigparser formatterconfiguration file linterindent config files
Topics
config-managementcode-formatting
PyPI keywords
configformatterinicfgconfigurationconfigparser

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 formatter”

  • config-formatterAutomatically formats .ini and .cfg configuration files with…
  • iniconfiginiconfig parses INI configuration files while preserving section and…
  • INIToolsINITools parses and manipulates INI-style configuration files through…

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 beautysh · commented-configparser · confection · imperfect · iniconfig · mbake · yamlfix · iniparse · ConfigUpdater · pyink