python36-configargparse

A Python module with support for argparse, config files, and env variables

Availability

Distro aarch64 noarch x86_64 Version
RHEL 10
RHEL 9
RHEL 8
RHEL 7 0.14.0
RHEL 6

Description

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.

Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

Install

CentOS/RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install python36-configargparse