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, db_dir: pathlib.Path)

Bases: phystool.config.ConfigurationError

exception phystool.config.CEDbConfNotFound(*args)

Bases: phystool.config.ConfigurationError

exception phystool.config.CEGitClone(*args)

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(db_name: str) None
get_db_list() list[str]
new_pdb_filename() str
class phystool.config.DatabaseConfig(name: str, conf: configparser.SectionProxy)

Initialization

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

Initialization

reload() None
phystool.config.config

“GeneralConfig(…)”

phystool.config.LOGGER_BOTH

None

phystool.config.LOGGER_FILE

None

phystool.config.LOGGER_ALCHEMY

None

phystool.config.LOGGING_CONFIG

None