python3-expandvars

bash-style environment variable expansion in 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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/sayanarijit/expandvars


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-expandvars