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.2.1.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moflask-2.2.1-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

Details for the file moflask-2.2.1.tar.gz.

File metadata

  • Download URL: moflask-2.2.1.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for moflask-2.2.1.tar.gz
Algorithm Hash digest
SHA256 72a5bd9870308e243e0058626602c6e20d329ebc9f44d375ee6332a2dd62cd29
MD5 a6d31e983ea5e5b4b5ada23679e534f4
BLAKE2b-256 e12dfadbcd9077a546ea384d871e13d53c01f00d3d3d9b8875a7b2d9819cfacb

See more details on using hashes here.

File details

Details for the file moflask-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: moflask-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 30.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for moflask-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25523e57bff6fca4b64c33f8c407824cd0cf8b3ef0cdd2b544d231eac7009e0b
MD5 a15302901e2da4540fd3215ce0bf7509
BLAKE2b-256 1c42b57147a2f250f07739b1a8833899a9549d6ee37e12f3bbed7250a8dc8cdb

See more details on using hashes here.

Supported by

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