GithubHelp home page GithubHelp logo

camembert's Introduction

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.

camembert's People

Contributors

jithinqw avatar nikhilkrishna avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

camembert's Issues

TypeError: process_response() takes 3 positional arguments but 5 were given

While running the Camerbert example. This error is thrown.

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/gunicorn/workers/sync.py", line 135, in handle
    self.handle_request(listener, req, client, addr)
  File "/usr/local/lib/python3.5/dist-packages/gunicorn/workers/sync.py", line 176, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/usr/local/lib/python3.5/dist-packages/falcon/api.py", line 260, in __call__
    process_response(req, resp, resource, req_succeeded)
TypeError: process_response() takes 3 positional arguments but 5 were given

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.