bucky.util.nested_dict
¶
Provide a nested version of dict() along with convenient API additions (apply, update, etc).
Module Contents¶
Classes¶
A nested version of dict. |
Functions¶
Check is a variable has a dict-like interface. |
Attributes¶
- bucky.util.nested_dict.test_dict¶
- class bucky.util.nested_dict.NestedDict(dict_of_dicts=None, seperator='.', ordered=True)[source]¶
Bases:
collections.abc.MutableMapping
A nested version of dict.
- apply(self, func, copy=False, key_filter=None, contains_filter=None)[source]¶
Apply a function of values stored in self, optionally filtering or doing a deep copy.