Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
229 lines (141 sloc) 9.97 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'
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.31 was released 2008-12-10:

To always have the latest version of, run:

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

Or download the latest version as zip or tarball.

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

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 Aaron left., the official online Telephone Directory for Switzerland - using in a backend service for tracking expired content - code open-sourced as urldammit, a political watchdog site, is built in a site for being alerted if your website is down., a color scheme picking site, is built in

ChiefMal, a contractor search tool, was built with uses

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

[21]:    Referencement Google

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.

The bivalidator checks your HTML and CSS validation. is built with Jottit makes getting a website as easy as filling out a textbox.

Tasko is built with Tasko is an online task management tool which uses a plain text file format to store all the information.

Damiga is built with Damiga is a place where you can anonymously and freely tell the world how you feel about other people: friends, celebrities, even fictional characters. It's also a place where you can see how the world feels about you., an unbelievably rad image bookmarking app, was written with is service for creating short urls. Deploying on Google App Engine

xykra is a minimalist (160 Python lines) wiki using Markdown.

Edgarest is built with provides fast, intuitive search of SEC Filings. is a nopaste/Pastebin app with Free and Open api, and of course with desktop plugins and clients.

Sysinternals CD integrates webpy and postgresql to render an automated website

"[ 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

"In the ecosystem of web frameworks, something needs to occupy the 'small, light and fast' niche. is it."

"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 >cigarette electroniquecode 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 development:d

gagner de l'argent | sites pour enfants | Lexique mode | mode | interior trends and design | Jeux de Fille | Child care advice | annuaire mode | mode enfant et magazine de mode enfantine

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