# {py:mod}`phystool.config` ```{py:module} phystool.config ``` ```{autodoc2-docstring} phystool.config :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`MyConfig ` - ```{autodoc2-docstring} phystool.config.MyConfig :summary: ``` * - {py:obj}`DBConf ` - ```{autodoc2-docstring} phystool.config.DBConf :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`config ` - ```{autodoc2-docstring} phystool.config.config :summary: ``` * - {py:obj}`LOGGER_BOTH ` - ```{autodoc2-docstring} phystool.config.LOGGER_BOTH :summary: ``` * - {py:obj}`LOGGER_FILE ` - ```{autodoc2-docstring} phystool.config.LOGGER_FILE :summary: ``` * - {py:obj}`LOGGING_CONFIG ` - ```{autodoc2-docstring} phystool.config.LOGGING_CONFIG :summary: ``` ```` ### API ``````{py:class} MyConfig() :canonical: phystool.config.MyConfig ```{autodoc2-docstring} phystool.config.MyConfig ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} phystool.config.MyConfig.__init__ ``` `````{py:class} Status() :canonical: phystool.config.MyConfig.Status Bases: {py:obj}`enum.IntEnum` ````{py:attribute} READY :canonical: phystool.config.MyConfig.Status.READY :value: > 'auto(...)' ```{autodoc2-docstring} phystool.config.MyConfig.Status.READY ``` ```` ````{py:attribute} MISSING_DB_CONF :canonical: phystool.config.MyConfig.Status.MISSING_DB_CONF :value: > 'auto(...)' ```{autodoc2-docstring} phystool.config.MyConfig.Status.MISSING_DB_CONF ``` ```` ````{py:attribute} MISSING_DB :canonical: phystool.config.MyConfig.Status.MISSING_DB :value: > 'auto(...)' ```{autodoc2-docstring} phystool.config.MyConfig.Status.MISSING_DB ``` ```` ````{py:attribute} MISSING_DB_DIR :canonical: phystool.config.MyConfig.Status.MISSING_DB_DIR :value: > 'auto(...)' ```{autodoc2-docstring} phystool.config.MyConfig.Status.MISSING_DB_DIR ``` ```` ````{py:attribute} MISSING_SQL_FILE :canonical: phystool.config.MyConfig.Status.MISSING_SQL_FILE :value: > 'auto(...)' ```{autodoc2-docstring} phystool.config.MyConfig.Status.MISSING_SQL_FILE ``` ```` ````{py:attribute} MISSING_KEY_IN_CONFIGURATION_FILE :canonical: phystool.config.MyConfig.Status.MISSING_KEY_IN_CONFIGURATION_FILE :value: > 'auto(...)' ```{autodoc2-docstring} phystool.config.MyConfig.Status.MISSING_KEY_IN_CONFIGURATION_FILE ``` ```` ````{py:attribute} MISSING_PDB_TYPE :canonical: phystool.config.MyConfig.Status.MISSING_PDB_TYPE :value: > 'auto(...)' ```{autodoc2-docstring} phystool.config.MyConfig.Status.MISSING_PDB_TYPE ``` ```` ````{py:attribute} MISSING_DOCUMENTCLASS_FILE :canonical: phystool.config.MyConfig.Status.MISSING_DOCUMENTCLASS_FILE :value: > 'auto(...)' ```{autodoc2-docstring} phystool.config.MyConfig.Status.MISSING_DOCUMENTCLASS_FILE ``` ```` ````` ````{py:method} setup_db() -> Status :canonical: phystool.config.MyConfig.setup_db ```{autodoc2-docstring} phystool.config.MyConfig.setup_db ``` ```` ````{py:method} get_db_list() -> list[str] :canonical: phystool.config.MyConfig.get_db_list ```{autodoc2-docstring} phystool.config.MyConfig.get_db_list ``` ```` ````{py:method} new_pdb_filename() -> str :canonical: phystool.config.MyConfig.new_pdb_filename ```{autodoc2-docstring} phystool.config.MyConfig.new_pdb_filename ``` ```` `````` `````{py:class} DBConf(name: str, section: configparser.SectionProxy) :canonical: phystool.config.DBConf ```{autodoc2-docstring} phystool.config.DBConf ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} phystool.config.DBConf.__init__ ``` ````{py:method} configure() -> phystool.config.MyConfig :canonical: phystool.config.DBConf.configure ```{autodoc2-docstring} phystool.config.DBConf.configure ``` ```` ````{py:method} env() -> dict[str, str] :canonical: phystool.config.DBConf.env ```{autodoc2-docstring} phystool.config.DBConf.env ``` ```` ````{py:method} qtenv() -> PySide6.QtCore.QProcessEnvironment :canonical: phystool.config.DBConf.qtenv ```{autodoc2-docstring} phystool.config.DBConf.qtenv ``` ```` ````{py:method} template(uuid: uuid.UUID) -> str :canonical: phystool.config.DBConf.template ```{autodoc2-docstring} phystool.config.DBConf.template ``` ```` ````` ````{py:data} config :canonical: phystool.config.config :value: > 'MyConfig(...)' ```{autodoc2-docstring} phystool.config.config ``` ```` ````{py:data} LOGGER_BOTH :canonical: phystool.config.LOGGER_BOTH :value: > None ```{autodoc2-docstring} phystool.config.LOGGER_BOTH ``` ```` ````{py:data} LOGGER_FILE :canonical: phystool.config.LOGGER_FILE :value: > None ```{autodoc2-docstring} phystool.config.LOGGER_FILE ``` ```` ````{py:data} LOGGING_CONFIG :canonical: phystool.config.LOGGING_CONFIG :value: > None ```{autodoc2-docstring} phystool.config.LOGGING_CONFIG ``` ````