spinn_utilities.configs package¶
Module contents¶
- class spinn_utilities.configs.CamelCaseConfigParser(defaults=None)[source]¶
Bases:
RawConfigParser
- get_str_list(section, option, token=',')[source]¶
Get the string value of an option split into a list.
- optionxform(optionstr)[source]¶
Transforms the name of an option to lower case and strips underscores, so matching is more user-friendly.
- property read_files¶
The configuration files that have been actually read.
- class spinn_utilities.configs.CaseSensitiveParser(defaults=None, dict_type=<class 'collections.OrderedDict'>, allow_no_value=False, *, delimiters=('=', ':'), comment_prefixes=('#', ';'), inline_comment_prefixes=None, strict=True, empty_lines_in_values=True, default_section='DEFAULT', interpolation=<object object>, converters=<object object>)[source]¶
Bases:
RawConfigParser
- exception spinn_utilities.configs.ConfigTemplateException[source]¶
Bases:
Exception
Throws when a problem is found with a configuration template.