Skip to content
/ pyroutes Public
forked from pyroutes/pyroutes

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

License

Notifications You must be signed in to change notification settings

xim/pyroutes

This branch is 4 commits behind pyroutes/pyroutes:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3fdab31 · Nov 25, 2012
May 5, 2010
Jul 13, 2010
Nov 25, 2012
Jan 26, 2012
Apr 7, 2012
Apr 7, 2012
Dec 31, 2009
Apr 7, 2012
Jun 10, 2009
Apr 12, 2010
Jan 26, 2012
Oct 9, 2011
Feb 27, 2012
Mar 4, 2012

Repository files navigation

pyroutes

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

Why?

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

Example:

from pyroutes import application, route

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

The above creates a complete WSGI compliant application. Result:

GET /
Hello world!

GET /foo
Hello foo!

See http://readthedocs.org/docs/pyroutes/ 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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Perl 0.1%