classy_config.loader.env_loader module#

classy_config.loader.env_loader.env_loader(filepath: Path) MutableMapping[str, str]#

Load the given *.env file and the user’s environment variables.

Prioritizes system/user environment variables. Will not override any existing environment variables from the system.

Parameters:

filepath – The path of the file to load from.

Returns:

The mapping of keys to value loaded from the env file and user’s environment.