inky_web.__main__ module

This is the Flask frontend for the application. It is responsible for changing configuration, environment variables, and running the application.

Usage:

python -m inky_web

class inky_web.__main__.AppConfig[source]

Bases: object

Configuration object class

DEBUG: bool
SECRET_KEY: str
TESTING: bool
inky_web.__main__.create_app(config: inky_web.__main__.AppConfig | None = None) Flask[source]

Create the Flask app

Parameters:

config (AppConfig) – Configuration object

Returns:

Flask app object

Return type:

Flask

inky_web.__main__.main(cl_arguments: list[str]) None[source]

Main function

Parameters:

cl_arguments (list[str]) – Command line arguments

Returns:

None

inky_web.__main__.parse_args(cl_arguments: list[str]) Namespace[source]

Parse command line arguments

Parameters:

cl_arguments (list[str]) – Command line arguments

Returns:

Parsed arguments

Return type:

argparse.Namespace