config
A hierarchical, easy-to-use, powerful configuration module for Python
Decision gist · record as of 2026-08-14
Yes, if you need hierarchical configuration and can accept an unmaintained package. The module is stable, has no dependencies, and works for straightforward config-file use cases. However, do not use it if you require active maintenance, support for recent Python versions, or security updates. Consider alternatives for new projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with no runtime dependencies, but the package has been abandoned since 2021 (1798 days without release).
- No active maintenance or security updates should be expected.
License · maintenance · safety
permissive license (permissive) — Licensed under BSD (permissive), allowing commercial and private use with minimal restrictions. The copyright is held by Vinay Sajip, 2004-2020.
last release 2021-09-11 (1798 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,205,223 downloads/mo, #4,226 on PyPI
Alternatives
Verify before relying
pip install config
import config
cfg = config.Config('myconfig.cfg')
value = cfg.some_key- Whether the package works reliably with Python versions beyond 3.7, given classifiers list only up to 3.7
- Current state of the upstream documentation at http://docs.red-dove.com/cfg/python.html and whether it remains accessible
- Whether there are known incompatibilities or edge cases with modern Python that the abandoned status might mask
What it is and what it does
Config is a Python configuration module that lets you define settings hierarchically in a structured format, with support for nested mappings and sequences. It handles cross-references between configuration values, allows you to reference Python objects without full-blown eval(), and supports includes so you can split configuration across multiple files. You can also merge configurations, cascade settings, and bind them to environment variables or command-line options.
The package is marked as production-stable but has not been maintained since 2021. It has no external runtime dependencies, making it lightweight to install, but the lack of recent updates means it may not work reliably with newer Python versions or address any discovered issues.
Use it for
- Loading application settings from a config file with environment variable overrides for different deployment environments
- Building a multi-level configuration system where development, staging, and production settings inherit from a base configuration
- Parsing structured configuration files that include references to other parts of the config or external Python objects
- Integrating command-line arguments and environment variables into a unified configuration object for a CLI tool
- Creating reusable configuration templates that can be included and merged across multiple projects
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need hierarchical configuration and can accept an unmaintained package.
The module is stable, has no dependencies, and works for straightforward config-file use cases. However, do not use it if you require active maintenance, support for recent Python versions, or security updates. Consider alternatives for new projects.
Install
config on PyPI
Before you install
Installation is straightforward with no runtime dependencies, but the package has been abandoned since 2021 (1798 days without release). No active maintenance or security updates should be expected.
License in practice
Licensed under BSD (permissive), allowing commercial and private use with minimal restrictions. The copyright is held by Vinay Sajip, 2004-2020.
Quickstart
pip install config
import config
cfg = config.Config('myconfig.cfg')
value = cfg.some_key
Verify before relying
- Whether the package works reliably with Python versions beyond 3.7, given classifiers list only up to 3.7
- Current state of the upstream documentation at http://docs.red-dove.com/cfg/python.html and whether it remains accessible
- Whether there are known incompatibilities or edge cases with modern Python that the abandoned status might mask
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,798 days since the last release |
| First released | |
| Downloads | 1,205,223 / month, #4,226 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Software Development |
Evidence: config-0.5.1-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 › “configuration merging and cascading”
- configProvides hierarchical configuration management with support for…
- configuratorBuilds a configuration store by layering multiple sources (files,…
- maisonMaison reads configuration settings from files like pyproject.toml…
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 attrdict · omegaconf · hierarchical-conf · cabina · django-cte · ZConfig · configurator · Sphinx · cucumber-expressions