windnode_kwum.tools package¶
Submodules¶
windnode_kwum.tools.config module¶
This module provides a highlevel layer for reading and writing config files. There must be a file called “config.ini” in the root-folder of the project. The file has to be of the following structure to be imported correctly.
The filestructure is like:
[SectionName] Option1 = value1 Option2 = value2
-
windnode_kwum.tools.config.
get
(section, key)[source]¶ returns the value of a given key of a given section of the main config file. :param section: the section. :type section: str. :param key: the key. :type key: str. :returns: the value which will be casted to float, int or boolean. if no cast is successfull, the raw string will be returned.