web.py is a web framework for Python that is as simple as it is powerful. web.py is in the public domain; you can use it for whatever purpose with absolutely no restrictions.
web.py 0.37 is the latest released version of web.py. You can install it by running:
sudo easy_install web.py
Or to get the latest development version from git:
git clone git://github.com/webpy/webpy.git ln -s `pwd`/webpy/web .
import web urls = ( '/(.*)', 'hello' ) app = web.application(urls, globals()) class hello: def GET(self, name): if not name: name = 'World' return 'Hello, ' + name + '!' if __name__ == "__main__": app.run()