utils#

A set of low level utilities for configuration file parsing and handling.

Warning

No heavy imports here. This is used by the early_boot which sets temp_dir. If using modules outside the standard library, import them locally inside functions.

configobj_to_dict(obj)[source]#
parse_flat_yaml(text: str) dict[source]#
write_flat_yaml(cfg_path, data: dict)[source]#