Skip to content


Subversion checkout URL

You can clone with
Download ZIP
74 lines (47 sloc) 3.65 KB
layout title
Welcome to! 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'
app = web.application(urls, globals())

class hello:        
    def GET(self, name):
        if not name: 
            name = 'World'
        return 'Hello, ' + name + '!'

if __name__ == "__main__":
A complete application.

Get Started 0.37 is the latest released version of You can install it by running:

sudo easy_install

Or to get the latest development version from git:

git clone git://
ln -s `pwd`/webpy/web .

Who uses was originally published while Aaron Swartz worked at, where the site used it as it grew to become one of the top 1000 sites according to Alexa and served millions of daily page views. "It's the anti-framework framework. doesn't get in your way," explained founder Steve Huffman. (The site was rewritten using other tools after being acquired by Condé Nast.)

  • Frinki, a new social network in Spanish.

  • Yandex, the leading Russian search engine (their homepage alone receives 70 million daily page views).

  • Make History, a project of the 9/11 Memorial Museum, is powered by on top of Google App Engine. On September 11, 2009, it received nearly 200,000 visitors. "It's my first time working with and basically with Python," noted its developer. " was awesome."

  •, a website that reviews and photographs hotels, uses for the entire site. They note that " gives us the control we need for a large-scale website". As of Jan 2013, renders about 230,000 pages per day.

  •, the official online Telephone Directory for Switzerland - using in a backend service for tracking expired content - code open-sourced as urldammit.

  •, a web application for collaborative research and archiving, is built on

  • Chiefmall, a contractor search tool, was built with

  •, Online Store based in Jakarta, Indonesia, is using onlinestore-multi (Simple Online Store application built using Python,, jQuery and MySQL).

"[ inspired the] web framework we use at FriendFeed [and] the webapp framework that ships with App Engine..."
  —  Brett Taylor, co-founder of FriendFeed and original tech lead on Google App Engine

"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

"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) #

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