pynrp.config module

A strongly validated configuration implementation for the VirtualCoach.

class Config(environment)[source]

Bases: dict

A configuration object that validates configuration file contents to ensure all necessary parameters are defined. As some configuration parameters will only be used intermittently, it is better to validate the contents of the configuration file to ensure it is up to date during the instantiation of the VirtualCoach, rather than during runtime.