BSD Ports

sysutils/py-expandvars 0.12.0p1 OpenBSD

expand system variables Unix style

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Denis Fondras <[email protected]>
Categories
sysutils, lang/python

Description

This module is inspired by GNU bash's variable expansion features. It can be used as an alternative to Python's os.path.expandvars function. A good use case is reading config files with the flexibility of reading values from environment variables using advanced features like returning a default value if some variable is not defined.

Install

Binary package:

pkg_add py3-expandvars

From the ports tree:

cd /usr/ports/sysutils/py-expandvars && make install

Dependencies

Build dependencies 4
Run dependencies 1