A small WSGI wrapper for creating small python web apps
Project description
A really small framework for rapid development of small python web applications
Why?
I got tired of dealing with the same boring WSGI-stuff everytime 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
Example:
@route('/')
def index(request, name='world'):
return Response('Hello %s!' % name)
GET /
Hello world!
GET /foo
Hello foo
See http://www.pyroutes.com for more information.
Templating
pyroutes includes a small xml-based templating system called xml-template. For more information about xml-template, check out its bzr-repo from http://bzr.sesse.net/xml-template XML-Template is released under the GPLv2 license.
For more information about usage, see the wiki example.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyroutes-0.4.1.tar.gz.
File metadata
- Download URL: pyroutes-0.4.1.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fc7b49e78e1c032b31444ccb8f3f840c657372605833a0890a53a7c18c161de
|
|
| MD5 |
5fe27434fddbbc288fd9ce694eb6a1c5
|
|
| BLAKE2b-256 |
f2e318bb1ecf388915ec77f516f0cacba7338fe61e2c912afbd91f146398ccc3
|