How to install python3-configargparse on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

Replacement for argparse that allows options to be set via config files

License: MIT Vendor: Fedora Project https://github.com/bw2/ConfigArgParse

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel noarch Version
RHEL 10 Base 1.8.0
RHEL 9 Base 1.8.0
RHEL 8 Base 0.14.0

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.

Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

Base RHEL 8, 9, 10

python3-configargparse on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8, 9, 10

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install python3-configargparse

Package downloads require an active GetPageSpeed subscription — one repository for python3-configargparse and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Subscribe — from $10/mo

Frequently asked questions

How do I install python3-configargparse on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the python3-configargparse package with your system package manager.

Which Enterprise Linux versions is python3-configargparse available for?

python3-configargparse is available for RHEL 8, 9, 10.

Subscribe