boostcfg#
import boostcfg
File parser for config files from Boost.
The boostcfg parser is a Python module for parsing Boost config files that can be parsed
by the parse_config_file
of boost::program_options
.
BoostConfigParser was especially designed for Pawian.
- class BoostConfigParser(filename: str | None = None)[source]#
Bases:
object
Data structure that holds information of Boost config files.
- read_config(filename: str, reset: bool = True) None [source]#
Parse a config line and to the internal
dict
.
Submodules and Subpackages