Modules reference
satnogsconfig
SatNOGS Config module initialization
satnogsconfig.config
Configuration module
- class satnogsconfig.config.Config(filename)[source]
Manage configuration file
- Parameters:
filename (str) – File path of configuration
- _load_config()[source]
Load and parse YAML configuration
- Returns:
Configuration dictionary
- Return type:
dict or NoneType
- dump_config(to_file=False)[source]
Dump configuration in YAML format
- Parameters:
to_file (bool, optional) – Dump to file
- Returns:
YAML configuration
- Return type:
str
satnogsconfig.helpers
Helpers module
- class satnogsconfig.helpers.SatnogsSetup[source]
Interract with satnogs-setup
- property is_applied
Check whether configuration has been applied
- Returns:
Whether configuration has been applied
- Return type:
bool
- property tags
Get satnogs-setup tags
- Returns:
Set of tags
- Return type:
set
- class satnogsconfig.helpers.Support(config, satnogs_setup)[source]
Create support information to be used for reporting bugs
- dump(*args, **kwargs)[source]
Dump support information
- Returns:
JSON dump of support information
- Return type:
str
- property info
Support information
- Returns:
Support information dictionary
- Return type:
dict