Skip to main content
Help us improve Python packaging – donate today!

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.

Release history Release notifications

This version
History Node

1.2

History Node

1.1

History Node

1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
redfox-1.2-py2.6.egg (11.3 kB) Copy SHA256 hash SHA256 Egg 2.6 Oct 20, 2009
redfox-1.2.tar.gz (4.9 kB) Copy SHA256 hash SHA256 Source None Oct 20, 2009

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page