devel/py-configargparse 1.8.0 OpenBSD
argparse replacement, allows options to be set via files/env
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
27c6f1d24d- Categories
- devel, lang/python
Description
A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
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.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-configargparse | 1.8.0 |
| FreeBSD | devel/py-configargparse | 1.7.7 |
| NetBSD | devel/py-configargparse | 1.7.7 |
| DragonFly | devel/py-configargparse | 1.5.3_1 |
| MidnightBSD | devel/py-configargparse | 1.7.1_1 |
| HardenedBSD | devel/py-configargparse | 1.7.7 |
| GhostBSD | devel/py-configargparse | 1.7.7 |
Install
Binary package:
pkg_add py3-ConfigArgParse
From the ports tree:
cd /usr/ports/devel/py-configargparse && make install