posty.config module

class posty.config.Config(path='config.yml')[source]

Bases: _abcoll.MutableMapping

Config object that gets passed around to various other objects. Loads config from a given YAML file.

Parameters:path – Path to a YAML file to read in as config

Validate and clean the already-loaded config


Load the YAML config from the given path, return the config object