Skip to content

msaJustPyUI Module

.jpcore.justpy_config


Created on 2022-09-02 modified version, original from JustPy @author: wf (modification swelcker)

Attributes

AGGRID module-attribute

AGGRID = config('AGGRID', cast=bool, default=True)

AGGRID_ENTERPRISE module-attribute

AGGRID_ENTERPRISE = config(
    "AGGRID_ENTERPRISE", cast=bool, default=False
)

BOKEH module-attribute

BOKEH = config('BOKEH', cast=bool, default=False)

COOKIE_MAX_AGE module-attribute

COOKIE_MAX_AGE = config(
    "COOKIE_MAX_AGE", cast=int, default=60 * 60 * 24 * 7
)

CRASH module-attribute

CRASH = config('CRASH', cast=bool, default=False)

DEBUG module-attribute

DEBUG = config('DEBUG', cast=bool, default=True)

DECKGL module-attribute

DECKGL = config('DECKGL', cast=bool, default=False)

FAVICON module-attribute

FAVICON = config('FAVICON', cast=str, default='')

FRONTEND_ENGINE_TYPE module-attribute

FRONTEND_ENGINE_TYPE = config(
    "FRONTEND_ENGINE_TYPE", cast=str, default="vue"
)

HIGHCHARTS module-attribute

HIGHCHARTS = config('HIGHCHARTS', cast=bool, default=True)

HOST module-attribute

HOST = config('HOST', cast=str, default='127.0.0.1')

HTML_404_PAGE module-attribute

HTML_404_PAGE = "justpy is sorry - that path doesn't exist"

KATEX module-attribute

KATEX = config('KATEX', cast=bool, default=False)

LATENCY module-attribute

LATENCY = config('LATENCY', cast=int, default=0)

MEMORY_DEBUG module-attribute

MEMORY_DEBUG = config(
    "MEMORY_DEBUG", cast=bool, default=False
)

NO_INTERNET module-attribute

NO_INTERNET = config("NO_INTERNET", cast=bool, default=True)

PLOTLY module-attribute

PLOTLY = config('PLOTLY', cast=bool, default=False)

PORT module-attribute

PORT = config('PORT', cast=int, default=8000)

QUASAR module-attribute

QUASAR = config('QUASAR', cast=bool, default=False)

QUASAR_VERSION module-attribute

QUASAR_VERSION = config(
    "QUASAR_VERSION", cast=str, default=None
)

SECRET_KEY module-attribute

SECRET_KEY = config(
    "SECRET_KEY", default="$$$my_secret_string$$$"
)

SESSIONS module-attribute

SESSIONS = config('SESSIONS', cast=bool, default=True)
SESSION_COOKIE_NAME = config(
    "SESSION_COOKIE_NAME", cast=str, default="jp_token"
)

SSL_CERTFILE module-attribute

SSL_CERTFILE = config('SSL_CERTFILE', default='')

SSL_KEYFILE module-attribute

SSL_KEYFILE = config('SSL_KEYFILE', default='')

SSL_VERSION module-attribute

SSL_VERSION = config("SSL_VERSION", default=PROTOCOL_SSLv23)

STATIC_DIRECTORY module-attribute

STATIC_DIRECTORY = config(
    "STATIC_DIRECTORY", cast=str, default=os.getcwd()
)

STATIC_NAME module-attribute

STATIC_NAME = config(
    "STATIC_NAME", cast=str, default="static"
)

STATIC_ROUTE module-attribute

STATIC_ROUTE = config(
    "STATIC_MOUNT", cast=str, default="/static"
)

TAILWIND module-attribute

TAILWIND = config('TAILWIND', cast=bool, default=True)

VEGA module-attribute

VEGA = config('VEGA', cast=bool, default=False)

config module-attribute

config = Config('justpy.env')

Last update: September 28, 2022
Created: September 28, 2022