smah.settings.system
- class smah.settings.system.System(config_data=None)[source]
Bases:
objectRepresents the system configuration and status.
- CONFIG_VSN
The version of the YAML format config section.
- Type:
str
- memory
Memory statistics.
- Type:
- operating_system
Operating System Details
- Type:
- vsn
Version string.
- Type:
str
- CONFIG_VSN: str = '0.0.1'
- static config_vsn() str[source]
Returns the version of the configuration.
- Returns:
The version of the configuration.
- Return type:
str
- is_configured()[source]
Checks if the system is configured.
- Returns:
True if the system is configured, False otherwise.
- Return type:
bool
Modules