Skip to content

Runtime Configuration Utilities

The config package contains small runtime helpers that are importable in this repository.


Package Structure

config/
├── __init__.py
├── cli.py
└── logconf.py

config.cli

config.cli parses the optimization mode used by command-line entry points. The supported modes are the modes wired by the KinOpt workflows, including local and evolutionary optimization.


config.logconf

config.logconf sets up console and optional file logging. Use setup_logger() from this module when runtime code needs consistent logging behavior.


config_loader.py

The root-level config_loader.py module loads config.toml, caches parsed configuration data, and applies mode-specific overrides for configuration sections.