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.3.0.tar.gz
(25.5 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.3.0-py3-none-any.whl
(25.2 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3823d6c9caa54533daadf2682c29605b8fd82e07d935587e04769da91da2108
|
|
| MD5 |
eb2c3247391a9014af32e0785f83137e
|
|
| BLAKE2b-256 |
6646f946c69abacb43771a9b1a107be45f702c246ece34f668936f78de7a34b8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
961d64004415907a3f38b9b1c180ee87e836fc1d461a77db32d469b7711b0e32
|
|
| MD5 |
1c2c89b68047b3990798d9ce763da01c
|
|
| BLAKE2b-256 |
f4b9c6ee0daffaa3282fe5b13f16cf69a4ee383f9bd1a4e1504ebf002da47bb6
|