skidl.config_ module

Handles SKiDL configuration parameters stored in a JSON file.

class skidl.config_.Config(cfg_file_name, *dirs)[source]

Bases: dict

Class for handling configuration parameters.

load(*dirs)[source]

Load configuration from JSON files in given dirs.

merge(merge_dct)[source]

Recurse through both dicts and update keys.

store(dir='.')[source]

Store configuration file as JSON in directory.

class skidl.config_.SkidlConfig(tool)[source]

Bases: Config

Config specialized for SKiDL configuration files.