{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Extends click with configuration file support, allowing CLI commands to read INI-format config files and merge their values into command options.","skillfed_tags":["cli-config","click-extension"],"use_cases":["Build a CLI tool where users can set defaults in a config file instead of passing all options on every invocation.","Parse multi-section INI files with dynamic section names (e.g., person.alice, person.bob) into structured command parameters.","Combine config-file and command-line options, with CLI flags overriding config file values.","Reduce boilerplate in click commands by centralizing option defaults in an INI file."],"what_it_does":"click-configfile bridges click command-line tools with INI-format configuration files. It lets you define configuration schemas that map INI sections and keys to click command options, then automatically populate those options from a config file at runtime. The package provides ConfigFileReader as a base class and Param/SectionSchema decorators to describe how config sections should be parsed and stored.\n\nThe typical workflow is to define a schema class with nested SectionSchema classes (decorated with @matches_section to match section names, including wildcards), subclass ConfigFileReader to specify which config files to read and which schemas to use, then pass the result to click's context_settings as a default_map. This lets your CLI accept both config-file-driven and command-line-driven option values in a unified way.","worth_installing":"Yes, if you need config-file support for a click CLI and are comfortable with a dormant package. The code is simple, has no known vulnerabilities, and low install friction. However, be aware that the last release was 2017 and maintenance is dormant\u2014if you encounter issues with modern Python or click versions, you may need to fork or patch it yourself. Suitable for stable, self-contained projects that don't require ongoing upstream support."},"id":"click-configfile","links":{"html":"https://skillfed.io/packages/click-configfile","md":"https://skillfed.io/packages/click-configfile.md","pypi":"https://pypi.org/project/click-configfile/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2017-09-24","license_spdx":null,"license_treatment":"permissive","name":"click-configfile","python_support":"unspecified","summary":"This package supports click commands that use configuration files."},"popularity":{"monthly_downloads":556631,"position":6018,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.3"}
