octomachinery.app.runtime.config module

The application runtime configuration.

class octomachinery.app.runtime.config.RuntimeConfig(debug=False, env='prod', mode='auto')[source]

Bases: object

Config of runtime env.

debug
env
classmethod from_environ(environ=environ({'RTD_PYTHON_VERSION_35': '3.5.10', 'HOSTNAME': 'build-12420941-project-386025-octomachinery', 'RTD_PYTHON_VERSION_27': '2.7.18', 'RTD_PYTHON_VERSION_36': '3.6.12', 'RTD_PYTHON_VERSION_37': '3.7.9', 'APPDIR': '/app', 'RTD_PYTHON_VERSION_38': '3.8.6', 'HOME': '/home/docs', 'OLDPWD': '/', 'RTD_SETUPTOOLS_VERSION': '45.1.0', 'NO_COLOR': '1', 'READTHEDOCS': 'True', 'RTD_PYPY_VERSION_35': 'pypy3.5-7.0.0', 'READTHEDOCS_PROJECT': 'octomachinery', 'PATH': '/home/docs/checkouts/readthedocs.org/user_builds/octomachinery/envs/latest/bin:/home/docs/.pyenv/shims:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/docs/.conda/bin:/home/docs/.pyenv/bin', 'RTD_PIP_VERSION': '20.0.1', 'LANG': 'C.UTF-8', 'READTHEDOCS_LANGUAGE': 'en', 'DEBIAN_FRONTEND': 'noninteractive', 'RTD_VIRTUALENV_VERSION': '16.7.9', 'RTD_CONDA_VERSION': '4.6.14', 'READTHEDOCS_VERSION': 'latest', 'PWD': '/home/docs/checkouts/readthedocs.org/user_builds/octomachinery/checkouts/latest/docs', 'PYENV_ROOT': '/home/docs/.pyenv', 'DOCUTILSCONFIG': '/home/docs/checkouts/readthedocs.org/user_builds/octomachinery/checkouts/latest/docs/docutils.conf', 'READTHEDOCS_EXEC': 'True'}))
classmethod generate_help(**kwargs)
mode