argos.core¶
Persistent application configuration stored as JSON.
Config file location: ~/.argos/config.json All values have sensible defaults and can be updated at runtime.
- class argos.core.config.Config(data: dict[str, Any])[source]¶
Bases:
objectApplication configuration backed by a JSON file.
- Usage:
config = Config.load() config.set(“alpaca.host”, “192.168.1.42”) config.save() host = config.get(“alpaca.host”)
- get(key: str, default: Any = None) Any[source]¶
Get a value using dot-notation key (e.g. ‘alpaca.host’).
Resolve an observing site name to WGS84 coordinates and terrain elevation.
The public Nominatim endpoint is queried only after an explicit user action; there is deliberately no keystroke autocomplete. Elevation is a convenience estimate from Open-Meteo’s 90 m DEM and must be edited when an observatory has a surveyed elevation.
- exception argos.core.location_resolver.LocationResolutionError[source]¶
Bases:
RuntimeErrorA location name could not be resolved into usable coordinates.