spinn_utilities.configs package¶
Module contents¶
- class spinn_utilities.configs.CamelCaseConfigParser(defaults=None)[source]¶
Bases:
RawConfigParser
Extends the Parser to allow for differences in case and underscores
- get_str_list(section: str, option: str, token: str = ',') List[str] [source]¶
Get the string value of an option split into a list.
- optionxform(optionstr: str) str [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.
- exception spinn_utilities.configs.ConfigTemplateException[source]¶
Bases:
Exception
Throws when a problem is found with a configuration template.