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
.
- Config loading using Python files indicated by the
moflask.wsgi.ProxyFix
: A middleware that safely handlesX-Forwarded-For
and 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.0.0a7.tar.gz
(28.5 kB
view hashes)
Built Distribution
moflask-2.0.0a7-py3-none-any.whl
(29.7 kB
view hashes)
Close
Hashes for moflask-2.0.0a7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f018ff3d3ef65c502222d19c7bcb2b3724ae0f5c9c2454cbec778b2a848b4b6f |
|
MD5 | 57e02d62f13c77874b44ed52c660a429 |
|
BLAKE2b-256 | 7f950ea6d34f837d918b0564471d42c8cbfefb2792df5c3ad1e9423803774a6d |