whiteprints.environment#
Manage environment variables.
Attributes#
The default path to the dotenv file. |
Functions#
|
Load a dotenv file to os.environ. |
Module Contents#
- whiteprints.environment.load_dotenv(environment_file: pathlib.Path) None[source]#
Load a dotenv file to os.environ.
A dotenv file stores the environment variables useful to customise the behaviour of the app.
- Parameters:
environment_file (pathlib.Path) – the dotenv file to load.
- Return type:
None