{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Extends Python's standard ConfigParser to preserve comments and formatting when reading and writing INI-style configuration files.","skillfed_tags":["config-management","ini-files"],"use_cases":["Edit application config files programmatically while preserving user comments and structure.","Build configuration management tools that round-trip INI files without losing documentation.","Maintain configuration templates where comments explain each setting to end users.","Update config values in scripts while keeping inline and section-level comments intact.","Generate or modify INI files from code and have them remain human-readable and annotated."],"what_it_does":"commented-configparser is a drop-in replacement for Python's standard library ConfigParser that preserves comments and most formatting when you read and write configuration files. When you load an INI file, modify it, and save it back, your original comments stay in place\u2014a feature the standard library discards. The package normalizes spacing around assignment operators and does not preserve indentation outside of multi-line values, but it retains both hash and semicolon comments, blank lines between sections, and trailing comments.\n\nYou use it exactly like the standard ConfigParser: instantiate it, call read() to load a file, modify the configuration as needed, and call write() to save it back. It has no external dependencies and runs on Python 3.9 and later, making it a lightweight addition to projects that need to edit configuration files while respecting user comments.","worth_installing":"Yes, if you need to programmatically edit INI configuration files while preserving comments. The package is lightweight, has no dependencies, and solves a real gap in the standard library. Maintenance is aging but the repository is not abandoned; consider it stable for its narrow use case. No known security issues."},"id":"commented-configparser","links":{"html":"https://skillfed.io/packages/commented-configparser","md":"https://skillfed.io/packages/commented-configparser.md","pypi":"https://pypi.org/project/commented-configparser/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-06-22","license_spdx":"MIT","license_treatment":"permissive","name":"commented-configparser","python_support":"supports_current","summary":"A custom ConfigParser class that preserves comments and most formatting when writing loaded config out."},"popularity":{"monthly_downloads":501381,"position":6315,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0.0"}
