BSD Ports

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

SystemPortVersion
OpenBSDdevel/py-configargparse1.8.0
FreeBSDdevel/py-configargparse1.7.7
NetBSDdevel/py-configargparse1.7.7
DragonFlydevel/py-configargparse1.5.3_1
MidnightBSDdevel/py-configargparse1.7.1_1
HardenedBSDdevel/py-configargparse1.7.7
GhostBSDdevel/py-configargparse1.7.7

Install

Binary package:

pkg_add py3-ConfigArgParse

From the ports tree:

cd /usr/ports/devel/py-configargparse && make install

Dependencies

Build dependencies 6
Run dependencies 1

Commit history 2

DateCommitCreditsLog message
27c6f1d24d tb py-configargparse: needs MODPY_PYBUILD=setuptools_scm
22019a5403 sthen update to py3-ConfigArgParse-1.8.0