click-config-file
Configuration file support for click applications.
Decision gist · record as of 2026-08-14
Yes, if you need lightweight config file support for a Click application and can accept the maintenance risk. The package is abandoned (last release 2020), so it will not receive updates for new Click versions or Python features. Install only if the feature set is complete for your use case and you're willing to fork or patch it yourself if Click evolves incompatibly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction install with only two runtime dependencies (click and configobj).
- However, the package is abandoned—last release was 2020-04-28 and no commits since 2023-03-22.
- Use only if you need minimal config file support and can maintain a fork if necessary.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use this in commercial or proprietary projects with minimal restrictions, though you must include the license text.
last release 2020-04-28 (2299 days) · last repo commit 2023-03-22 · 42 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 198,553 downloads/mo, #9,726 on PyPI
Alternatives
Verify before relying
pip install click-config-file
import click
import click_config_file
@click.command()
@click.option('--name', default='World')
@click_config_file.configuration_option()
def hello(name):
click.echo('Hello {}!'.format(name))- Whether the package works with current Click versions (last tested 2020)
- Whether configobj's unrepr mode is still the recommended config format
- Support for Python versions beyond 3.x (requires_python is unspecified)
What it is and what it does
click-config-file is a decorator that bolts configuration file support onto Click applications. Instead of manually parsing config files, you add a single @click_config_file.configuration_option() decorator to your command, and it automatically handles reading and merging settings from a file. It respects a sensible resolution order: command-line arguments override environment variables, which override config file settings, which override defaults.
The package uses configobj's unrepr mode by default to parse configuration files, but you can supply a custom provider function to support other formats like JSON or YAML. It's designed for simplicity—it works with sensible defaults out of the box and requires no mandatory configuration arguments.
Use it for
- Add config file support to a CLI tool without writing custom file-parsing logic
- Let users override CLI defaults with a persistent configuration file in their home directory
- Support both command-line and config-file options with proper precedence handling
- Build a multi-command CLI where each command can read from a shared config file
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need lightweight config file support for a Click application and can accept the maintenance risk.
The package is abandoned (last release 2020), so it will not receive updates for new Click versions or Python features. Install only if the feature set is complete for your use case and you're willing to fork or patch it yourself if Click evolves incompatibly.
Install
click-config-file on PyPI
Before you install
Low friction install with only two runtime dependencies (click and configobj). However, the package is abandoned—last release was 2020-04-28 and no commits since 2023-03-22. Use only if you need minimal config file support and can maintain a fork if necessary.
License in practice
MIT license is permissive; you can use this in commercial or proprietary projects with minimal restrictions, though you must include the license text.
Quickstart
pip install click-config-file
import click
import click_config_file
@click.command()
@click.option('--name', default='World')
@click_config_file.configuration_option()
def hello(name):
click.echo('Hello {}!'.format(name))
Verify before relying
- Whether the package works with current Click versions (last tested 2020)
- Whether configobj's unrepr mode is still the recommended config format
- Support for Python versions beyond 3.x (requires_python is unspecified)
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesclickconfigobj |
| Maintenance | Abandoned 2,299 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 198,553 / month, #9,726 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3 |
Evidence: click_config_file-0.6.0-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 › “click config file decorator”
- click-config-fileAdds configuration file support to Click command-line applications…
- click-configfileExtends click with configuration file support, allowing CLI commands…
- typer-configAdds configuration-file support to typer CLI applications, letting…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also click · click-datetime · click-prompt · click-configfile · more-click · click-compose · configobj · rich-click · django-click · click-log