Skip to main content

A small WSGI wrapper for creating small python web apps

Project description

A really small framework for rapid development of small python web applications


I got tired of dealing with the same boring WSGI stuff every time I wanted to make a small web-utility in django, but I didn’t want to go to far away from it, so I made this little thing to ease the work a bit.

How it works


from pyroutes import application, route

def index(request, name='world'):
    return 'Hello %s!' % name

The above creates a complete WSGI compliant application. Result:

Hello world!

GET /foo
Hello foo!

See for more information.


pyroutes includes a small xml-based templating system called xml-template. For more information about xml-template, check out its bzr repo from XML-Template is released under the GPLv2 license.

For more information about usage, see the wiki example.

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 pyroutes, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size pyroutes-0.5.0.tar.gz (18.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page