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.0.tar.gz
(28.5 kB
view hashes)
Built Distribution
moflask-2.0.0-py3-none-any.whl
(29.4 kB
view hashes)