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_SETTINGSenvironment variable. - Logger intialization.
- Sentry initialization with config read from
SENTRY_CONFIG.
- Config loading using Python files indicated by the
moflask.wsgi.ProxyFix: A middleware that safely handlesX-Forwarded-Forand related headers.moflask.logging: Logging helpers with preconfigured handlers and filters. Enabled on the BaseApp.
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
moflask-2.2.1-py3-none-any.whl
(30.6 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72a5bd9870308e243e0058626602c6e20d329ebc9f44d375ee6332a2dd62cd29
|
|
| MD5 |
a6d31e983ea5e5b4b5ada23679e534f4
|
|
| BLAKE2b-256 |
e12dfadbcd9077a546ea384d871e13d53c01f00d3d3d9b8875a7b2d9819cfacb
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25523e57bff6fca4b64c33f8c407824cd0cf8b3ef0cdd2b544d231eac7009e0b
|
|
| MD5 |
a15302901e2da4540fd3215ce0bf7509
|
|
| BLAKE2b-256 |
1c42b57147a2f250f07739b1a8833899a9549d6ee37e12f3bbed7250a8dc8cdb
|