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.0a6.tar.gz
(31.3 kB
view hashes)
Built Distribution
moflask-2.0.0a6-py3-none-any.whl
(33.9 kB
view hashes)
Close
Hashes for moflask-2.0.0a6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 817664f6074769cb320c4feec8de7c9fd4bf4084e72755b8d7545d9cb811e453 |
|
MD5 | e08dd0d16e98e30d411749c96b9d60c3 |
|
BLAKE2b-256 | 02b14a6d70ee7d5bd0f2d1a95a564c208b27af2e9128de9f4892cf84ae61882c |