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.3.0.tar.gz (25.5 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.3.0-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for moflask-2.3.0.tar.gz
Algorithm Hash digest
SHA256 c3823d6c9caa54533daadf2682c29605b8fd82e07d935587e04769da91da2108
MD5 eb2c3247391a9014af32e0785f83137e
BLAKE2b-256 6646f946c69abacb43771a9b1a107be45f702c246ece34f668936f78de7a34b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: moflask-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 25.2 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 961d64004415907a3f38b9b1c180ee87e836fc1d461a77db32d469b7711b0e32
MD5 1c2c89b68047b3990798d9ce763da01c
BLAKE2b-256 f4b9c6ee0daffaa3282fe5b13f16cf69a4ee383f9bd1a4e1504ebf002da47bb6

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