WSGI request routing for Python objects
Project description
Redfox provides a simple, declarative routing mechanism for creating WSGI entry points into applications. It’s broadly similar to microframeworks like juno or CherryPy.
Features
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.
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
redfox-1.2.tar.gz
(4.9 kB
view hashes)
Built Distribution
redfox-1.2-py2.6.egg
(11.3 kB
view hashes)