pycloudlib.config module

Deal with configuration file.

class pycloudlib.config.Config[source]

Bases: dict

Override dict to allow raising a more meaningful KeyError.

pycloudlib.config.parse_config(config_file: Path | StringIO | None = None) MutableMapping[str, Any][source]

Find the relevant TOML, load, and return it.