pkgcore.config.cparser module

ini based configuration format

pkgcore.config.cparser.config_from_file(file_obj: Iterable[str]) LazyValDict[source]

generate a config dict

Parameters:

file_obj – file protocol instance

Returns:

snakeoil.mappings.LazyValDict instance