click-configfile
This package supports click commands that use configuration files.
Decision gist · record as of 2026-08-14
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—if 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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires click to be installed; Python 2.6+ or Python 3 support is listed but unspecified in requires_python.
- Low install friction with a pure-Python wheel.
- Maintenance is dormant—last release was 2017-09-24 and last commit 2023-09-07—so expect no active bug fixes or feature updates, though the package remains archived-free and has no known vulnerabilities.
License · maintenance · safety
BSD (permissive) — BSD license (permissive) places no significant restrictions on use, modification, or distribution in most contexts.
last release 2017-09-24 (3246 days) · last repo commit 2023-09-07 · 60 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 556,631 downloads/mo, #6,018 on PyPI
Alternatives
Verify before relying
pip install click-configfile
from click_configfile import ConfigFileReader, Param, SectionSchema
import click
class MySchema(SectionSchema):
name = Param(type=str)
class MyReader(ConfigFileReader):
config_files = ["config.ini"]
config_section_schemas = [MySchema]
CONTEXT_SETTINGS = dict(default_map=MyReader.read_config())
@click.command(context_settings=CONTEXT_SETTINGS)
def mycmd():
pass- Whether the package works reliably with modern Python versions (3.9+) given its last release was 2017.
- Current compatibility with recent versions of click, configparser, and six.
What it is and 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.
The 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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—if 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.
Install
click-configfile on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance is dormant—last release was 2017-09-24 and last commit 2023-09-07—so expect no active bug fixes or feature updates, though the package remains archived-free and has no known vulnerabilities.
Requires click to be installed; Python 2.6+ or Python 3 support is listed but unspecified in requires_python.
License in practice
BSD license (permissive) places no significant restrictions on use, modification, or distribution in most contexts.
Quickstart
pip install click-configfile
from click_configfile import ConfigFileReader, Param, SectionSchema
import click
class MySchema(SectionSchema):
name = Param(type=str)
class MyReader(ConfigFileReader):
config_files = ["config.ini"]
config_section_schemas = [MySchema]
CONTEXT_SETTINGS = dict(default_map=MyReader.read_config())
@click.command(context_settings=CONTEXT_SETTINGS)
def mycmd():
pass
Verify before relying
- Whether the package works reliably with modern Python versions (3.9+) given its last release was 2017.
- Current compatibility with recent versions of click, configparser, and six.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesclickconfigparsersix |
| Maintenance | Dormant 3,246 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 556,631 / month, #6,018 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: End Users/DesktopIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Topic :: Utilities |
Evidence: click_configfile-0.2.3-py2.py3-none-any.whl
Tags
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 › “CLI config file parsing”
- click-configfileExtends click with configuration file support, allowing CLI commands…
- jsonargparsejsonargparse creates command-line interfaces and configuration…
- click-config-fileAdds configuration file support to Click command-line applications…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
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.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
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.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also click · click-config-file · click-aliases · crudini · click-datetime · rich-click · configobj · ConfigUpdater · typed-config · setoptconf