spinn_utilities.configs package¶
Submodules¶
spinn_utilities.configs.config_checker module¶
- class spinn_utilities.configs.config_checker.ConfigChecker(directories: Collection[str])[source]¶
Bases:
objectChecks the py and cfg files after the defaults have been set,
- Parameters:
directories – Path to find the cfg and py files to check
spinn_utilities.configs.config_documentor module¶
- class spinn_utilities.configs.config_documentor.ConfigDocumentor[source]¶
Bases:
objectThis class will document all the default configs.
This can be called at any level but will only work with the default cfg files set. (Typically up to that level)
- check() None[source]¶
Runs the checks that the cfg will work as markdown.
Expects all sections and not grouped (including by path name) options to have docs (@)
Expects all sections and not grouped options to generate unique links.
- md_reports(f: TextIO) None[source]¶
Writes in markdown format a list of links from paths to cfg options.
spinn_utilities.configs.two_user_configs_exception module¶
Module contents¶
- class spinn_utilities.configs.CamelCaseConfigParser[source]¶
Bases:
TypedConfigParserExtends the Parser to allow for differences in case and underscores
- exception spinn_utilities.configs.ConfigTemplateException[source]¶
Bases:
ExceptionThrows when a problem is found with a configuration template.