redvypr.configdata¶
Functions
|
Applies a user configuration to a dictionary created from a template :param userconfig: :param configdict: |
|
Applies a user configuration to a dictionary created from a template :param userconfig: :param configdict: |
|
creates a dictionary out of a configuration dictionary, the values of the dictionary are configdata objects that store the template information as well. |
|
Returns the data of an object, if its an configdata object, it returns data.value, otherwise data :param data: |
|
To treat dictsionaries and lists equally this functions returns either the keys of dictionararies or the indices of a list. This allows a index = seq_iter(data) for index in data: data[index]. |
|
Checks if the template is valid :param template: dictionary |
Classes
|
This is a class that stores the original data and potentially additional information, if it is pickled it is only returning self.value but not potential additional information |