--- id: configargparse version: "1.7.5" license: MIT license_treatment: permissive maintenance: active --- # ConfigArgParse — A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables. License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install configargparse uv add configargparse poetry add configargparse ## Description # ConfigArgParse [![PyPI version](https://img.shields.io/pypi/v/ConfigArgParse.svg?style=flat)](https://pypi.python.org/pypi/ConfigArgParse) [![Supported Python versions](https://img.shields.io/pypi/pyversions/ConfigArgParse.svg)](https://pypi.python.org/pypi/ConfigArgParse) [![Downloads per week](https://static.pepy.tech/badge/configargparse/week)](https://pepy.tech/project/configargparse) [![Build status](https://github.com/bw2/ConfigArgParse/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/bw2/ConfigArgParse/actions/workflows/test.yml) [![API Documentation](https://img.shields.io/badge/-API_Documentation-blue)](https://bw2.github.io/ConfigArgParse/) ## Overview Applications with more than a handful of user-settable options are best configured through a combination of command line args, config files, hard-coded defaults, and in some cases, environment variables. Python's command line parsing modules such as argparse have very limited support for config files and environment variables, so this module extends argparse to add these features. **API docs:** https://bw2.github.io/ConfigArgParse/ **PyPI:**... ## AI interpretation — verify before relying ConfigArgParse extends Python's argparse to parse configuration from command-line arguments, config files (INI/YAML), environment variables, and defaults in a unified interface with automatic precedence handling. Verdict: Stable, well-maintained drop-in replacement for argparse with zero dependencies, broad Python 3.6+ support, and no known vulnerabilities. Ideal for applications needing unified configuration from multiple sources without added complexity. [View on SkillFed](https://skillfed.io/packages/configargparse) · [View on PyPI](https://pypi.org/project/configargparse/)