grapa.internal.config_manager

Config loading and caching for grapa.

Provides a small config store with path resolution, cache, and type-aware value access. Each Graph object may specify its own configuration file. keys are lower-case.

@author: Romain Carron Copyright (c) 2026, Empa, Laboratory for Thin Films and Photovoltaics, Romain Carron

Classes

ConfigManager([filename_fallback])

Resolves, loads, and caches config files and exposes typed access helpers.

ConfigStore(filename, attributes)

Config snapshot with filename metadata and type-aware lookup.