wdae package

Submodules

wdae.default_settings module

Default Django settings for wdae project.

class wdae.default_settings.CustomFormatter(fmt=None, datefmt=None, style='%', validate=True, *, defaults=None)[source]

Bases: Formatter

A custom formatter that uses color for console output.

FORMATS: ClassVar[dict] = {10: <logging.Formatter object>, 20: <logging.Formatter object>, 30: <logging.Formatter object>, 40: <logging.Formatter object>, 50: <logging.Formatter object>}
bold_red = '\x1b[31;1m'
fmt_invert = '\x1b[7m%(levelname)s\x1b[27m %(asctime)s [%(module)s] %(message)s'
fmt_normal = '%(levelname)s %(asctime)s [%(module)s] %(message)s'
format(record)[source]

Format the specified record as text.

The record’s attribute dictionary is used as the operand to a string formatting operation which yields the returned string. Before formatting the dictionary, a couple of preparatory steps are carried out. The message attribute of the record is computed using LogRecord.getMessage(). If the formatting string uses the time (as determined by a call to usesTime(), formatTime() is called to format the event time. If there is exception information, it is formatted using formatException() and appended to the message.

grey = '\x1b[38;20m'
red = '\x1b[31;20m'
reset = '\x1b[0m'
time_fmt = '%H:%M:%S'
yellow = '\x1b[33;20m'

wdae.eager_settings module

wdae.gunicorn_settings module

wdae.remote_settings module

wdae.settings module

wdae.silk_settings module

wdae.test_settings module

wdae.urls module

wdae.wdaemanage module

wdae.wdaemanage.main() None[source]

Entry point for wdaemanage when invoked as a cli tool.

wdae.wgpf module

wdae.wgpf.cli(argv: list[str] | None = None) None[source]

Provide CLI for development GPF web server management.

wdae.wgpf_settings module

wdae.wsgi module

Module contents