uvex_transients.utils.config#
Global configuration system for uvex_transients.
This module provides a hierarchical, YAML-backed configuration manager.
Configuration values are accessed via dot-separated keys (e.g.
config["physics.default_cosmology"]); changes are written back to disk
immediately (autosave).
Configuration files are located using the following precedence:
Environment variable
$UVEX_TRANSIENTS_CONFIG(if set)Local project file
.uvex_transientsrcin the current working directoryUser-specific config at
~/.config/uvex_transients/config.yamlPackage default config distributed with uvex_transients
Use config to access the active configuration; it behaves like a
nested dictionary with automatic loading and saving.