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.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

redfox-1.2-py2.6.egg (11.3 kB view details)

Uploaded Egg

File details

Details for the file redfox-1.2.tar.gz.

File metadata

  • Download URL: redfox-1.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for redfox-1.2.tar.gz
Algorithm Hash digest
SHA256 32dc02eefcc41e58557cebceca9af1450edf249baf10b28ea3bec0f887be26a8
MD5 9b8955c53134ce91dc6721230901bc39
BLAKE2b-256 1343f0837a02af6a8a64105ec62c2aabf9b5fc3d8a748634cae29e0fe4145905

See more details on using hashes here.

File details

Details for the file redfox-1.2-py2.6.egg.

File metadata

  • Download URL: redfox-1.2-py2.6.egg
  • Upload date:
  • Size: 11.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for redfox-1.2-py2.6.egg
Algorithm Hash digest
SHA256 9816b72cd9b64946042e76ef80682ef4ffc33f5f35efbe6f77c1bc11f441d055
MD5 86261af22acf004f0e507c48b89b4a23
BLAKE2b-256 cc628703a56e4a1e34a1baa6753cd797efc4b29736bda11c8ffd211cc5bdf77d

See more details on using hashes here.

Supported by

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