Falcon middlewares made easy.


Keywords
falcon, middlewares, falcon-middleware
License
MIT
Install
pip install camembert==0.11.0

Documentation

Camembert

Total alerts Code style: black

License: MIT

Configure middlewares and hooks for the Falcon framework easily.

Requirements

Please refer to requirements.txt for list of requirements.

List of middleware functions

  • Converting request to JSON
  • Requests Logging
  • Response headers
  • Content Type
  • Require HTTPS
  • SQLAlchemy session management
  • Internal Server Error
  • RateLimiting
  • Blacklisted IP

Installing Camembert

Local installation

Clone this repository to your workspace and change directory to it.

Run dependencies using python3 -m pip install -r requirements.txt

If you are in need to use a proxy certificate run python3 -m pip install -r requirements.txt --cert <proxy-cert>

Then run python3 setup.py install

Installation as a PIP module

pip install camembert

Pypi page - Camembert

Examples

Please see Examples.md for examples.