Skip to main content

Re-usable flask utilities.

Project description

moflask

Utility library to build flask apps faster and more consistent. It includes:

  • moflask.flask.BaseApp: A base class that handles:
    • Config loading using Python files indicated by the FLASK_SETTINGS environment variable.
    • Logger intialization.
    • Sentry initialization with config read from SENTRY_CONFIG.
  • moflask.wsgi.ProxyFix: A middleware that safely handles X-Forwarded-For and related headers.
  • moflask.logging: Logging helpers with preconfigured handlers and filters. Enabled on the BaseApp.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moflask-2.0.0a7.tar.gz (28.5 kB view hashes)

Uploaded Source

Built Distribution

moflask-2.0.0a7-py3-none-any.whl (29.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page