tokio.config module

Load the pytokio configuration file, which is encoded as json and contains various site-specific constants, paths, and defaults.

tokio.config.CONFIG = {}

Global variable containing the configuration

tokio.config.DEFAULT_CONFIG_FILE = ''

Path of default site configuration file

tokio.config.PYTOKIO_CONFIG_FILE = ''

Path to configuration file to load

tokio.config.init_config()[source]

Loads the global configuration.

Loads the site-wide configuration file, then inspects relevant environment variables for overrides.