config-parser
Configuration library wrappers
What it is and what it does
config-parser is a thin wrapper around argparse that reads argument definitions from YAML or JSON files and merges configuration from multiple sources—defaults, config files, environment variables, and runtime arguments—in a fixed order. It simplifies the boilerplate of setting up command-line argument parsing when your definitions live in external files rather than in code.
The package depends only on PyYAML and installs as a pure Python wheel with low friction. However, it has been abandoned since its initial release in January 2019 and has received no updates or maintenance since then. The fixed precedence order cannot be customized, which may or may not align with your application's needs.
Use it for:
- Loading application settings from a YAML config file with environment variable overrides for deployment.
- Defining CLI arguments in a YAML file to keep argument definitions separate from Python code.
- Layering defaults, user config, and environment variables in a predictable order for a CLI tool.
- Wrapping argparse definitions to reduce boilerplate in configuration-heavy applications.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Merges configuration from YAML/JSON files, environment variables, and runtime arguments into a single parsed configuration object, applying them in a fixed precedence order.
No. The package is abandoned (no updates since 2019) and carries an AGPLv3+ license that restricts use in proprietary projects. For modern Python applications, use standard argparse with a dedicated config library (e.g., configparser, pydantic, or hydra) that is actively maintained and offers more flexibility.
Install
config-parser on PyPI
pip
pip install config-parseruv
uv add config-parserpoetry
poetry add config-parserInstalling config-parser
Before you install
Package is abandoned—last release was 2019-01-21 with no updates since. Low install friction (pure Python wheel, single dependency on PyYAML), but no active maintenance or security monitoring.
License in practice
Licensed under GNU AGPLv3+, which requires derivative works and modifications to be distributed under the same license. Use is restricted in proprietary or closed-source projects.
Quickstart
pip install config-parser
from config_parser import Parser
p = Parser(argparse_file="argparse.yml").get()
Requires Python 3.6 or later; argparse definitions must be provided as a YAML or JSON file.
Verify before relying
- Whether the package actually works with modern Python versions (last tested in 2019).
- Whether PyYAML dependency is pinned to a specific version or accepts any version.
- Whether the fixed precedence order (defaults → config files → environment → runtime) meets typical use cases.
Package facts
| License | GNU GPLv3 (agpl) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — PyYAML |
| Maintenance | abandoned — 2,762 days since the last release |
| First released | |
| Downloads | 972,267/month — #4,607 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: config_parser-0.0.1-py3-none-any.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
ConfigArgParseExtends Python's argparse to parse command-line…
permissive · top 1,000 on PyPI
configuratorBuilds a configuration store by layering…
permissive · top 15,000 on PyPI
lib-layered-configLoads and merges configuration from multiple…
permissive · top 15,000 on PyPI
python-json-configLoads JSON configuration files and provides…
permissive · top 15,000 on PyPI
sconfsconf is a YAML-based configuration library…
permissive · top 15,000 on PyPI
prime-pydantic-configBuilds a command-line interface from Pydantic…
unclear · top 15,000 on PyPI
confuseConfuse is a YAML configuration library that…
permissive · top 5,000 on PyPI
prefigureManages run configurations for machine learning…
permissive · top 15,000 on PyPI
omegaconfOmegaConf provides a hierarchical configuration…
permissive · top 1,000 on PyPI
draccusDraccus parses command-line arguments and…
permissive · top 5,000 on PyPI