Skip to content
This repository
Newer
Older
100644 72 lines (46 sloc) 3.428 kb
a6e20090 »
2006-02-14 AaronSw
1 ---
2 layout: default
7118168e »
2011-01-15 update front page
3 title: Welcome to web.py!
a6e20090 »
2006-02-14 AaronSw
4 ---
5
32645ac3 »
2011-01-15 fix spelling
6 **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.
7877580d »
2009-12-22 edit
7
aecf2f11 »
2011-01-16 new cite test
8 <div style="float: right; margin: 1em">
7118168e »
2011-01-15 update front page
9 <pre>
10 import web
11
12 urls = (
13 '/(.*)', 'hello'
14 )
15 app = web.application(urls, globals())
16
17 class hello:
18 def GET(self, name):
19 if not name:
20 name = 'World'
21 return 'Hello, ' + name + '!'
22
23 if __name__ == "__main__":
24 app.run()
25 </pre>
26 <em>A complete web.py application.</em>
27 </div>
acdcf26a »
2007-06-08 edit
28
29 ## Get Started
30
c09ea477 »
2012-06-26 web.py 0.37 is released.
31 web.py 0.37 is the latest released version of web.py. You can install it by running:
acdcf26a »
2007-06-08 edit
32
7118168e »
2011-01-15 update front page
33 sudo easy_install web.py
acdcf26a »
2007-06-08 edit
34
7118168e »
2011-01-15 update front page
35 Or to get the latest development version from git:
acdcf26a »
2007-06-08 edit
36
c672048a »
2008-09-29 replace bzr with git
37 git clone git://github.com/webpy/webpy.git
38 ln -s `pwd`/webpy/web .
acdcf26a »
2007-06-08 edit
39
dbcfc29f »
2009-11-17 little typo
40 ## Who uses web.py?
acdcf26a »
2007-06-08 edit
41
c74bd664 »
2010-07-16 edit
42 web.py was originally published while Aaron Swartz worked at [reddit.com][20], 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. web.py doesn't get in your way," explained founder Steve Huffman. (The site was rewritten using other tools after being acquired by Condé Nast.)
acdcf26a »
2007-06-08 edit
43
44 [20]: http://reddit.com/
45
aecf2f11 »
2011-01-16 new cite test
46 * [Frinki](http://frinki.com), a new social network in Spanish.
1371bf32 »
2009-12-02 change chinese character display
47
aecf2f11 »
2011-01-16 new cite test
48 * [Yandex][21], the leading Russian search engine (their homepage alone receives 70 million daily page views).
7118168e »
2011-01-15 update front page
49
50 [21]: http://yandex.ru
51
aecf2f11 »
2011-01-16 new cite test
52 * [Make History](http://makehistory.national911memorial.org), a project of the 9/11 Memorial Museum, is powered by web.py on top of Google App Engine. On September 11, 2009, it received nearly 200,000 visitors. "It's my first time working with web.py and basically with Python," noted its developer. "web.py was awesome."
a0fd5d51 »
2009-03-06 add local.ch, urldammit
53
aecf2f11 »
2011-01-16 new cite test
54 * [Oyster Hotel Reviews](http://www.oyster.com/), a website that reviews hotels and lets you book them, uses web.py for its booking pages and dynamic content. They note that "web.py gives us the control we need for a large-scale website".
67eb8ff0 »
2010-04-19 Added link to Oyster Hotel Reviews, which now uses web.py
55
aecf2f11 »
2011-01-16 new cite test
56 * [local.ch](http://www.local.ch), the official online Telephone Directory for Switzerland - using web.py in a backend service for tracking expired content - code open-sourced as [urldammit](http://github.com/harryf/urldammit/tree/master).
ec2dd690 »
2007-09-20 edit
57
aecf2f11 »
2011-01-16 new cite test
58 * [archivd.com](http://www.archivd.com), a web application for collaborative research and archiving, is built on web.py.
a6bc460e »
2009-04-17 added link to archivd under "who uses"
59
aecf2f11 »
2011-01-16 new cite test
60 * [Chiefmall](http://www.chiefmall.com/), a contractor search tool, was built with web.py.
8a7dea3c »
2008-07-03 chiefmall
61
c74bd664 »
2010-07-16 edit
62 "[web.py inspired the] web framework we use at FriendFeed [and] the webapp framework that ships with App Engine..."
aecf2f11 »
2011-01-16 new cite test
63 <span class="cite">&nbsp;&nbsp;&mdash;&nbsp; [Brett Taylor](http://bret.appspot.com/entry/experimenting-google-app-engine), co-founder of FriendFeed and original tech lead on Google App Engine</span>
f6620af1 »
2008-04-18 add google app engine
64
c74bd664 »
2010-07-16 edit
65 "Django lets you write web apps in Django. TurboGears lets you write web apps in TurboGears. Web.py lets you write web apps in Python."
74e54f6e »
2011-01-16 more frontpage cleanup
66 <span class="cite">&nbsp;&nbsp;&mdash;&nbsp; Adam Atlas</span>
acdcf26a »
2007-06-08 edit
67
f69431da »
2010-09-01 edit
68 "Guido [van Rossum, creator of Python], you'll probably find that web.py 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."
74e54f6e »
2011-01-16 more frontpage cleanup
69 <span class="cite">&nbsp;&nbsp;&mdash;&nbsp; Phillip J. Eby, creator of the Python Web Server Gateway Interface (WSGI) [#][30]</span>
acdcf26a »
2007-06-08 edit
70
f1d7e1fb »
2010-01-28 edit
71 [30]: http://shortb.net/~f561f2
Something went wrong with that request. Please try again.