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.

Source Distribution

redfox-1.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

redfox-1.1-py2.6.egg (11.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page