Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 537 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 537 Bytes

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.
  • moflask.wsgi.ProxyFix: A middleware that safely handles X-Forwarded-For and related headers.
  • moflask.logging: Logging helpers with preconfigured handlers and filters. Enabled on the BaseApp.