config

config

Functions for handling PPRL configuration.

Functions

Name Description
load_environment Load the configuration file as a dictionary.

load_environment

config.load_environment(path=None)

Load the configuration file as a dictionary.

Parameters

Name Type Description Default
path str Location of the configuration file to load. If not specified, try to load the configuration file from the root of the pprl installation called .env. None

Returns

Type Description
collections.collections.OrderedDict Mapping of the key-value pairs in the configuration file.