Contents

ConfigArgParse 1.7

0

A drop-in replacement for argparse that allows options to also be set via config files and/or enviro

A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.

Stars: 726, Watchers: 726, Forks: 121, Open Issues: 81

The bw2/ConfigArgParse repo was created 10 years ago and the last code push was 3 months ago.
The project is popular with 726 github stars!

How to Install configargparse

You can install configargparse using pip

pip install configargparse

or add it to a project with poetry

poetry add configargparse

Package Details

Author
License
MIT
Homepage
https://github.com/bw2/ConfigArgParse
PyPi:
https://pypi.org/project/ConfigArgParse/
GitHub Repo:
https://github.com/bw2/ConfigArgParse

Classifiers

No  configargparse  pypi packages just yet.

Errors

A list of common configargparse errors.

Code Examples

Here are some configargparse code examples and snippets.

GitHub Issues

The configargparse package has 81 open issues on GitHub

  • Consistent tagging
  • [feature request] Method to remove argument by name
  • Enable Recursive config calls
  • Config files render various errors in combination with default values
  • Parse yaml directories as key=value pairs
  • Add option to ignore previous config files
  • namespacing based on config?

See more issues on GitHub