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.0a5.tar.gz
(31.1 kB
view hashes)
Built Distribution
moflask-2.0.0a5-py3-none-any.whl
(33.9 kB
view hashes)
Close
Hashes for moflask-2.0.0a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb4bec0eaa6dae7e43e23005a6b48ea70040eeb62a790a548f4a4855b7fb33de |
|
MD5 | 9168a0d9035fbb09fc6e470d3f689169 |
|
BLAKE2b-256 | 60af1b2e383ec124b2d9999f43a1f91a0ed309583371da36cc2427287e7c3267 |