Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
162 lines (101 sloc) 6.12 KB
layout title

About is a web framework for python that is as simple as it is powerful. is in the public domain; you can use it for whatever purpose with absolutely no restrictions.

  import web

  urls = (
      '/(.*)', 'hello'

  class hello:        
      def GET(self, name):
          i = web.input(times=1)
          if not name: name = 'world'
          for c in xrange(int(i.times)): print 'Hello,', name+'!'

  if __name__ == "__main__":, globals())

A complete application

Get Started 0.21 was released 2007-05-28:

To always have the latest version of, run:

svn co

Upgrading from an older version? Be sure to read the upgrade guide.

Who uses, one of the top 1000 sites according to Alexa, uses to serve its millions of daily page views. "It's the anti-framework framework. doesn't get in your way," explains founder Steve Huffman. (Disclosure: creator Aaron Swartz was also a founder of reddit.), a color scheme picking site, is built in

Yandex, a Russian traffic provider whose homepage alone receives 70 million daily page views, uses for certain projects.

LShift has used to build websites for Expro and publisher Dorling Kindersley. " allows us to do what we do best," they report. "It does the webapp thing brilliantly, and without requiring us to compromise on flexibility and originality."

micropledge, a web app that collects funding for software ideas, is built in "We've enjoyed fitting in with its minimalist approach," says developer Ben Hoyt.


"We completed our server rewrite a few days ago with and it was everything we could have wished for."

"Django lets you write web apps in Django. TurboGears lets you write web apps in TurboGears. lets you write web apps in Python."

  • Adam Atlas

"very nicely written and concise (not to mention it's written by Aaron Swartz, whose coding skills are very trustable), and doesn't get in my way"

  • Jonas Galvez, Blogamundo #

"the first framework ... where I could just scribble code and see something working without even having to try to understand the logic of it. A pleasure to integrate."

"Guido [van Rossum, creator of Python], you'll probably find that best suits your style. ... If you don't like it, I can't imagine which of the other dozens of frameworks out there you would like."

  • Phillip J. Eby, creator of the Python Web Server Gateway Interface (WSGI) #

"... the [Cheetah] example I saw on looks "right". ( itself OTOH gets an "F", for undocumented code with too much magic behavior. upvars(), bah.)"

  • Guido van Rossum, creator of Python #

"suffice to say I think Aaron is headed in the right direction."

"a very fascinating moment for me. The feelings just like the first time I wrote my php script ... it sure have let me learn python in the fun way. Good work aaron !" documentation: community

  • mail list: home of the discussion

  • irc channel: home of the talk development:

Jump to Line
Something went wrong with that request. Please try again.