{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"Automatically formats .ini and .cfg configuration files with consistent indentation, spacing, and value assignment syntax while preserving comments.","skillfed_tags":["config-management","code-formatting"],"use_cases":["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."],"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\u2014removing 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.\n\nIt'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.","worth_installing":"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."},"id":"config-formatter","links":{"html":"https://skillfed.io/packages/config-formatter","md":"https://skillfed.io/packages/config-formatter.md","pypi":"https://pypi.org/project/config-formatter/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2023-11-18","license_spdx":null,"license_treatment":"permissive","name":"config-formatter","python_support":"supports_current","summary":"An automatic formatter for .ini and .cfg configuration files"},"popularity":{"monthly_downloads":285996,"position":8050,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.0"}
