phystool.config

Module Contents

Classes

MyConfigParser

DatabaseConfig

GeneralConfig

Data

config

LOGGER_BOTH

LOGGER_FILE

LOGGER_ALCHEMY

LOGGING_CONFIG

API

exception phystool.config.ConfigurationError(*args)

Bases: ValueError

exception phystool.config.CEMissingConf(*args)

Bases: phystool.config.ConfigurationError

exception phystool.config.CEUndefinedDb(*args)

Bases: phystool.config.ConfigurationError

exception phystool.config.CEDbDirNotFound(db_name: str, conf_file: pathlib.Path)

Bases: phystool.config.ConfigurationError

exception phystool.config.CEDbConfNotFound(db_name: str, conf_file: pathlib.Path)

Bases: phystool.config.ConfigurationError

exception phystool.config.CEKey(*args)

Bases: phystool.config.ConfigurationError

exception phystool.config.CEPdbType(*args)

Bases: phystool.config.ConfigurationError

exception phystool.config.CEDocumentclass(*args)

Bases: phystool.config.ConfigurationError

class phystool.config.MyConfigParser

Bases: configparser.ConfigParser

load() None
setup_db() None
get_db_list() list[str]
new_pdb_filename() str
class phystool.config.DatabaseConfig(name: str, conf: configparser.SectionProxy)

Initialization

configure() None
template(uuid: uuid.UUID) str
class phystool.config.GeneralConfig

Initialization

phystool.config.config

“GeneralConfig(…)”

phystool.config.LOGGER_BOTH

None

phystool.config.LOGGER_FILE

None

phystool.config.LOGGER_ALCHEMY

None

phystool.config.LOGGING_CONFIG

None