RedfoxWSGI request routing for Python objects | |
Download |
Redfox Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Owen Jacobson
- Publisher web site:
- http://alchemy.grimoire.ca/
Redfox Tags
Redfox Description
WSGI request routing for Python objects Redfox is a Python library that provides a simple, declarative routing mechanism for creating WSGI entry points into applications. It's broadly similar to microframeworks like juno or CherryPy. Here are some key features of "Redfox": · It's tiny. The redfox package contains under 100 lines of code. Redfox builds heavily on the Werkzeug tools to implement its features, rather than re-reinventing the wheel. It's clean. The following is a valid Redfox application class: · from werkzeug import Response · from redfox import WebApplication · from redfox.routing import get, post class Example(WebApplication): · @get('/') def index(self, request): · return Response("Hello, world!") · It's minimal. Redfox does not impose a persistance mechanism, or a view mechanism. Bring your own, or create your own tools. Requirements: · Python
Redfox Related Software