iotile.core.utilities.config

Module Contents

class ConfigFile(base_dir, name, require_local=False)

A simple wrapper around a json config file with a local and global version the local version always overrides the global version.

__getitem__(self, path)

Given a path specifying subdictionaries in this config dictionary, with each key separated by a /, return the value indicated. It must exist.

merge_dicts(a, b)

merges b into a