drakken.config module¶
Configuration module using pyaml library.
Supports JSON and YAML config file formats.
- drakken.config.get(key)¶
Return configuration value for this key.
- Parameters:
key (str) – config dictionary key.
- Returns:
value for this key.
- Return type:
str
- drakken.config.load(path)¶
Load config file into this app’s configuration.
- Parameters:
path (str) – file path.
- drakken.config.loads(d)¶
Load dictionary d into config.
- Parameters:
d (dict) – configuration dictionary.