Skip to main content

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

  1. 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.

  2. 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!")
    
  3. It’s minimal. Redfox does not impose a persistance mechanism, or a view mechanism. Bring your own, or create your own tools.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for redfox, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size redfox-1.2-py2.6.egg (11.3 kB) File type Egg Python version 2.6 Upload date Hashes View
Filename, size redfox-1.2.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page