Skip to content
This repository
Newer
Older
100644 261 lines (156 sloc) 10.422 kb
a6e20090 » anonymous
2006-02-14 AaronSw
1 ---
2 layout: default
c74bd664 » anonymous
2010-07-16 edit
3 title: About web.py
a6e20090 » anonymous
2006-02-14 AaronSw
4 ---
5
c74bd664 » anonymous
2010-07-16 edit
6 # About web.py
a6e20090 » anonymous
2006-02-14 AaronSw
7
1ae2a930 » nux
2010-02-06 Add Other languages and link to french FAQ translation
8 Other languages : [français](/fr) | ...
9
ac2b0202 » Mau
2009-02-21 edit
10 **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 » ken
2009-12-22 edit
11
c74bd664 » anonymous
2010-07-16 edit
12 ##A complete web.py application
88602c21 » irrelative
2010-01-31 edit
13
91aa63f3 » anandology
2008-12-06 upgrade to 0.3
14 import web
acdcf26a » aaronsw
2007-06-08 edit
15
91aa63f3 » anandology
2008-12-06 upgrade to 0.3
16 urls = (
17 '/(.*)', 'hello'
18 )
19 app = web.application(urls, globals())
acdcf26a » aaronsw
2007-06-08 edit
20
91aa63f3 » anandology
2008-12-06 upgrade to 0.3
21 class hello:
22 def GET(self, name):
23 if not name:
39a29fe0 » forrestv
2009-12-28 trying to get bad cache out
24 name = 'World'
91aa63f3 » anandology
2008-12-06 upgrade to 0.3
25 return 'Hello, ' + name + '!'
acdcf26a » aaronsw
2007-06-08 edit
26
91aa63f3 » anandology
2008-12-06 upgrade to 0.3
27 if __name__ == "__main__":
28 app.run()
ad4122b4 » anonymous
2007-01-21 clinch
29
acdcf26a » aaronsw
2007-06-08 edit
30
31 ## Get Started
32
9b6f0844 » anandology
2010-03-20 web.py 0.34 released
33 web.py 0.34 was released on 2010-03-20: [web.py-0.34.tar.gz][16]
acdcf26a » aaronsw
2007-06-08 edit
34
9b6f0844 » anandology
2010-03-20 web.py 0.34 released
35 [16]: /static/web.py-0.34.tar.gz
acdcf26a » aaronsw
2007-06-08 edit
36
37 To always have the latest version of web.py, run:
38
c672048a » anandology
2008-09-29 replace bzr with git
39 git clone git://github.com/webpy/webpy.git
40 ln -s `pwd`/webpy/web .
acdcf26a » aaronsw
2007-06-08 edit
41
032dd535 » anandology
2008-11-01 links to download zip or tarball
42 Or download the latest version as [zip](http://github.com/webpy/webpy/zipball/master) or [tarball](http://github.com/webpy/webpy/tarball/master).
43
acdcf26a » aaronsw
2007-06-08 edit
44 Upgrading from an older version? Be sure to [read the upgrade guide][17].
45
91aa63f3 » anandology
2008-12-06 upgrade to 0.3
46 [17]: http://webpy.org/docs/0.3/upgrade
70a75196 » forrestv
2009-12-28 trying to fix formatting issue
47
dbcfc29f » segeda
2009-11-17 little typo
48 ## Who uses web.py?
acdcf26a » aaronsw
2007-06-08 edit
49
c74bd664 » anonymous
2010-07-16 edit
50 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 » aaronsw
2007-06-08 edit
51
52 [20]: http://reddit.com/
53
f69431da » aaronsw
2010-09-01 edit
54 [Frinki](http://frinki.com), a new social network in Spanish.
1371bf32 » jeffkyjin
2009-12-02 change chinese character display
55
ec836d8f » jbrudvik
2010-07-29 Remove spam links
56 [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." [job jena](http://www.jobs-jena.net/)
a0fd5d51 » harryf
2009-03-06 add local.ch, urldammit
57
c74bd664 » anonymous
2010-07-16 edit
58 [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 » benhoyt
2010-04-19 Added link to Oyster Hotel Reviews, which now uses web.py
59
c74bd664 » anonymous
2010-07-16 edit
60 [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 » daltonlp
2007-09-20 edit
61
c74bd664 » anonymous
2010-07-16 edit
62 [sitecanary.com](https://sitecanary.com/) a site for being alerted if your website is down.
d0455a80 » irrelative
2009-04-16 edit
63
c74bd664 » anonymous
2010-07-16 edit
64 [watchdog.net](http://watchdog.net/), a political watchdog site, is built in web.py.
abad1b81 » aaronsw
2009-09-14 make history
65
c74bd664 » anonymous
2010-07-16 edit
66 [archivd.com](http://www.archivd.com), a web application for collaborative research and archiving, is built on web.py
a6bc460e » aristus
2009-04-17 added link to archivd under "who uses"
67
c74bd664 » anonymous
2010-07-16 edit
68 [colr.org](http://www.colr.org), a color scheme picking site, is built in web.py.
3f1c887b » daltonlp
2008-02-09 edit
69
e5f9e4ac » BenHurt
2009-11-15 edit
70
c74bd664 » anonymous
2010-07-16 edit
71 [Chiefmall](http://www.chiefmall.com/), a contractor search tool, was built with web.py.
8a7dea3c » aaronsw
2008-07-03 chiefmall
72
c74bd664 » anonymous
2010-07-16 edit
73 [grouplite.com](http://www.grouplite.com) uses web.py.
74
75 [Yandex][21], a Russian traffic provider whose homepage alone receives 70 million daily page views, uses web.py for certain projects.
acdcf26a » aaronsw
2007-06-08 edit
76
a8e1aa4c » pmocek
2009-05-01 remove HTML junk that was breaking Markdown link 21 to yandex.ru
77 [21]: http://yandex.ru
acdcf26a » aaronsw
2007-06-08 edit
78
c74bd664 » anonymous
2010-07-16 edit
79 [LShift][22] has used web.py to build websites for [Expro][23] and [publisher Dorling Kindersley][24]. "web.py 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."
acdcf26a » aaronsw
2007-06-08 edit
80
81 [22]: http://www.lshift.net/
82 [23]: http://exproretail.com/
83 [24]: http://travel.dk.com/
513553da » ken
2010-07-07 edit
84
c74bd664 » anonymous
2010-07-16 edit
85 [micropledge][m], a web app that collects funding for software ideas, is built in web.py. "We've enjoyed fitting in with its minimalist approach," says developer Ben Hoyt.
3166efc9 » aaronsw
2007-08-14 edit
86
87 [m]: http://micropledge.com/
88
c74bd664 » anonymous
2010-07-16 edit
89 The [bivalidator](http://xhtml-css.com/) checks your HTML and CSS validation.
2072e238 » aaronsw
2007-11-08 edit
90
c74bd664 » anonymous
2010-07-16 edit
91 [jottit.com](http://jottit.com) is built with web.py. Jottit makes getting a website as easy as filling out a textbox.
08a134a7 » aaronsw
2008-09-15 edit
92
c74bd664 » anonymous
2010-07-16 edit
93 [Tasko][t] is built with web.py. Tasko is an online task management tool which uses a plain text file format to store all the information.
ec3aa645 » Young Hoo
2008-01-22 add tasko to 'who uses web.py'
94
95 [t]: http://taskodone.com/
96
f69431da » aaronsw
2010-09-01 edit
97 [Damiga][d] is built with web.py. 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.
166bec81 » manbefree
2008-01-23 added damiga.com as a user of web.py
98
99 [d]: http://damiga.com/
100
c74bd664 » anonymous
2010-07-16 edit
101 [Fotosaur.us][f], an unbelievably rad image bookmarking app, was written with web.py.
4ae65316 » benogle
2008-04-23 added fotosaur.us to the web apps list. word up.
102
103 [f]: http://fotosaur.us
104
be2c18a7 » anonymous
2009-09-22 add link to french tutorial
105
c74bd664 » anonymous
2010-07-16 edit
106 [URIs.us][u] is service for creating short urls. Deploying on Google App Engine
02fd2eec » slav0nic
2008-05-04 add uris link
107
108 [u]: http://uris.us
109
c50d447b » skarbat
2008-06-27 edit
110
c74bd664 » anonymous
2010-07-16 edit
111 [xykra] [x] is a minimalist (160 Python lines) wiki using [Markdown](http://daringfireball.net/projects/markdown/).
c50d447b » skarbat
2008-06-27 edit
112
b02c381e » benogle
2008-07-16 edit
113 [x]: http://xykra.org
c50d447b » skarbat
2008-06-27 edit
114
c74bd664 » anonymous
2010-07-16 edit
115 [Edgarest] [y] is built with web.py.Edgarest provides fast, intuitive search of SEC Filings.
dbdb0513 » bill
2008-08-06 edit
116
117 [y]: http://edgarest.com
c50d447b » skarbat
2008-06-27 edit
118
9a98f4ca » anandology
2009-10-13 edit
119
c74bd664 » anonymous
2010-07-16 edit
120 [Wklej.to] [z] is a nopaste/Pastebin app with Free and Open api, and of course with desktop plugins and clients.
6ff725bc » pigmej
2008-09-17 Added one app
121
122 [z]: http://wklej.to
123
c74bd664 » anonymous
2010-07-16 edit
124 [Sysinternals CD] [zz] integrates webpy and postgresql to render an automated website
a09b7213 » skarbat
2008-10-10 edit
125
37958613 » pigmej
2009-02-08 fixed broken link to wklej.to ( sysinternals broks it)
126 [zz]: http://sysinternals.xykra.org
a09b7213 » skarbat
2008-10-10 edit
127
c74bd664 » anonymous
2010-07-16 edit
128 [Biomed Search] [zzz] searches over a million biomedical images images in nicely viewable sizes.
bf8c51ef » alexksikes
2010-01-12 added Biomed Search
129
130 [zzz]: http://www.biomed-search.com
131
c74bd664 » anonymous
2010-07-16 edit
132 "[web.py inspired the] web framework we use at FriendFeed [and] the webapp framework that ships with App Engine..."
ac2b0202 » Mau
2009-02-21 edit
133 - [Brett Taylor](http://bret.appspot.com/entry/experimenting-google-app-engine), co-founder of FriendFeed and original tech lead on Google App Engine
f6620af1 » aaronsw
2008-04-18 add google app engine
134
c74bd664 » anonymous
2010-07-16 edit
135 "In the ecosystem of web frameworks, something needs to occupy the 'small, light and fast' niche. web.py is it."
136 - Lloyd Dalton, [colr.org](http://colr.org)
ec2dd690 » daltonlp
2007-09-20 edit
137
c74bd664 » anonymous
2010-07-16 edit
138 "We completed our server rewrite a few days ago with web.py and it was everything we could have wished for."
139 - Sam Hsiung, [YouOS][25]
acdcf26a » aaronsw
2007-06-08 edit
140
141 [25]: http://www.youos.com/
142
c74bd664 » anonymous
2010-07-16 edit
143 "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."
144 - Adam Atlas
acdcf26a » aaronsw
2007-06-08 edit
145
c74bd664 » anonymous
2010-07-16 edit
146 "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"
147 - Jonas Galvez, Aupeo [#][26]
acdcf26a » aaronsw
2007-06-08 edit
148
f1d7e1fb » EloiseKuebler
2010-01-28 edit
149 [26]: http://shortb.net/~f561f1
acdcf26a » aaronsw
2007-06-08 edit
150
f69431da » aaronsw
2010-09-01 edit
151 "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."
c74bd664 » anonymous
2010-07-16 edit
152 - Delaunay Antoine built [a photo gallery][28] and [an agenda][34] with it
acdcf26a » aaronsw
2007-06-08 edit
153
6eb3cdd2 » targi
2010-06-14 Removed spam
154 [28]: http://www.tendances-de-mode.com/
abad1b81 » aaronsw
2009-09-14 make history
155 [34]: http://metagenda.org
acdcf26a » aaronsw
2007-06-08 edit
156
f69431da » aaronsw
2010-09-01 edit
157 "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."
c74bd664 » anonymous
2010-07-16 edit
158 - Phillip J. Eby, creator of the Python Web Server Gateway Interface (WSGI) [#][30]
acdcf26a » aaronsw
2007-06-08 edit
159
f1d7e1fb » EloiseKuebler
2010-01-28 edit
160 [30]: http://shortb.net/~f561f2
acdcf26a » aaronsw
2007-06-08 edit
161
c74bd664 » anonymous
2010-07-16 edit
162 "... the [Cheetah] example I saw on web.py looks "right". (web.py itself OTOH gets an "F", for undocumented code with too much magic behavior. upvars(), bah.)"
163 - Guido van Rossum, creator of Python [#][31]
acdcf26a » aaronsw
2007-06-08 edit
164
f1d7e1fb » EloiseKuebler
2010-01-28 edit
165 [31]: http://shortb.net/+f561f3
acdcf26a » aaronsw
2007-06-08 edit
166
c74bd664 » anonymous
2010-07-16 edit
167 "suffice to say I think Aaron is headed in the right direction."
168 - Harry Fuecks: [a simple wiki with web.py][32]
acdcf26a » aaronsw
2007-06-08 edit
169
170 [32]: http://www.sitepoint.com/blogs/2006/01/06/a-simple-wiki-with-webpy/
171
f69431da » aaronsw
2010-09-01 edit
172 "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 !"
3c2934fb » Braga
2010-07-18 edit
173 - Kamal [simple blog in webpy, learning python the fun way][33]
acdcf26a » aaronsw
2007-06-08 edit
174
175 [33]: http://www.k4ml.com/node/165
ad4122b4 » anonymous
2007-01-21 clinch
176
c74bd664 » anonymous
2010-07-16 edit
177 ### web.py documentation:
ad4122b4 » anonymous
2007-01-21 clinch
178
179 * [installation](/install)
180 * [english](/install)
181 * [mac os x](/install_macosx)
182 * [español](/install/es)
d2c4d85a » jeffkyjin
2009-12-06 add chinese page link of FAQ
183 * [日本語](/install/ja)
eb16601d » jeffkyjin
2009-12-02 change chinese character display
184 * [简体中文](/install/zh-cn)
b14a3817 » Alessandro Agosto
2009-10-18 edit
185 * [Italiano](/install/it)
1371bf32 » jeffkyjin
2009-12-02 change chinese character display
186 * [français](/install/fr)
187
ad4122b4 » anonymous
2007-01-21 clinch
188
91aa63f3 » anandology
2008-12-06 upgrade to 0.3
189 * [tutorials for version 0.3 (latest)](/tutorial3)
190 * [english](/tutorial3.en)
d64837b5 » jeffkyjin
2009-12-02 add tutorials 0.3 chinese page link
191 * [简体中文](/tutorial3.zh-cn)
e5f9e4ac » BenHurt
2009-11-15 edit
192 * [p?????? 0.2](http://webpy.infogami.com/tutorial2.ru)
193 * [????](http://www.dup2.org/files/web.py%200.2%20tutorial.html)
ad4122b4 » anonymous
2007-01-21 clinch
194 * [template.py tutorial](/templetor)
195 * [form.py (short) tutorial](/form)
d2c4d85a » jeffkyjin
2009-12-06 add chinese page link of FAQ
196 * [日本語](/tutorial2.ja)
e5f9e4ac » BenHurt
2009-11-15 edit
197 * [e???????](http://webpy.org/tutorial2.el)
5c578e24 » anonymous
2009-09-24 add again forgotten french translation
198 * [français](/tutorial3.fr)
ad4122b4 » anonymous
2007-01-21 clinch
199
200 * [tutorials (old version)](/tutorial):
201 * [english](http://webpy.org/tutorial)
202 * [español](/tutorial/es)
203 * português: [1](http://www.writely.com/View.aspx?docid=bbcm927cd2fmj) [2](http://www.writely.com/View.aspx?docid=bbcnjdbhbfh6n) [3](http://www.writely.com/View.aspx?docid=bccxp4cgw36p3)
204 * [français](http://sunfox.org/tutoriel-web-py-fr/)
e5f9e4ac » BenHurt
2009-11-15 edit
205 * [p??????](http://bobuk.infogami.com/webpytrans)
d2c4d85a » jeffkyjin
2009-12-06 add chinese page link of FAQ
206 * [日本語](http://kinneko.googlepages.com/webpy_tutorial_ja)
4b9d849e » anonymous
2010-08-03 edit
207 * [Texas Whitetail Deer Hunts] (http://www.huntingtexastrophies.com/texas-hunting-packages/texas-whitetail-deer-hunting/)
208 * [Pacquiao Vs Margarito] (http://www.pacquiaomargarito.co.cc/)
513553da » ken
2010-07-07 edit
209
ad4122b4 » anonymous
2007-01-21 clinch
210
211 * [code documentation](/docs)
212
213
214 * FAQ:
1371bf32 » jeffkyjin
2009-12-02 change chinese character display
215 * [english](http://webpy.org/faq)
ad4122b4 » anonymous
2007-01-21 clinch
216 * [español](/faq/es)
e5f9e4ac » BenHurt
2009-11-15 edit
217 * [???????](/faq/ru)
218 * [???](http://kinneko.googlepages.com/webpy_faq)
7877580d » ken
2009-12-22 edit
219 * [日本語](/faq/ja)
e91fd0b0 » jeffkyjin
2009-12-06 edit
220 * [简体中文](/faq/zh-cn)
1ae2a930 » nux
2010-02-06 Add Other languages and link to french FAQ translation
221 * [français](/faq/fr)
ad4122b4 » anonymous
2007-01-21 clinch
222
18d51649 » reizn
2008-05-20 The addition of the Japanese translation link of Cookbook.
223 * cookbook:
d2c4d85a » jeffkyjin
2009-12-06 add chinese page link of FAQ
224 * [日本語](/cookbook/ja)
098e2f8e » xcombelle
2008-06-06 +cookbook english
225 * [english](/cookbook)
eb16601d » jeffkyjin
2009-12-02 change chinese character display
226 * [简体中文](/cookbook/zh-cn)
18d51649 » reizn
2008-05-20 The addition of the Japanese translation link of Cookbook.
227
ad4122b4 » anonymous
2007-01-21 clinch
228 * [code samples](/src)
c74bd664 » anonymous
2010-07-16 edit
229
4b9d849e » anonymous
2010-08-03 edit
230 * [Tok stok moveis](http://dicasdedecoracoes.com/tok-stock-moveis/)
231
232 * [Texas Fallow Deer Hunting] (http://huntingtexastrophies.com/texas-hunting-packages/fallow-deer-hunting/)
233
234 * [Otimização de sites](http://otimizacao-de-websites.com/)
235
236 * [Torpedo gratis web](http://torpedogratisweb.com/)
237
ad4122b4 » anonymous
2007-01-21 clinch
238 * [friendly hosts](/hosts)
3c2934fb » Braga
2010-07-18 edit
239
240 * [related projects](/related)
ad4122b4 » anonymous
2007-01-21 clinch
241
4b9d849e » anonymous
2010-08-03 edit
242 * [Box para banheiro](http://soboxparabanheiro.com/)
243
244 * [Aoudad Sheep Hunts] (http://huntingtexastrophies.com/texas-hunting-packages/aoudad-sheep-hunting/)
245
c74bd664 » anonymous
2010-07-16 edit
246 * [tricks](/tricks)
f1d7e1fb » EloiseKuebler
2010-01-28 edit
247
ad4122b4 » anonymous
2007-01-21 clinch
248
c74bd664 » anonymous
2010-07-16 edit
249 ### web.py community
513553da » ken
2010-07-07 edit
250 * [**mail list**](http://groups.google.com/group/webpy/ "web.py google group"): home of the web.py discussion
c74bd664 » anonymous
2010-07-16 edit
251
6a781ce8 » aaronsw
2007-06-08 edit
252 * [**irc channel**](irc://irc.freenode.net/webpy "#webpy on irc.freenode.net"): home of the web.py talk
8667b97b » aaronsw
2008-07-22 edit
253
c74bd664 » anonymous
2010-07-16 edit
254 * [powered by web.py buttons](http://luke.jottit.com/webpy_logo)
ad4122b4 » anonymous
2007-01-21 clinch
255
c74bd664 » anonymous
2010-07-16 edit
256 ### web.py development
e5f9e4ac » BenHurt
2009-11-15 edit
257
ec836d8f » jbrudvik
2010-07-29 Remove spam links
258
513553da » ken
2010-07-07 edit
259 * [git repository](http://github.com/webpy/webpy)
c74bd664 » anonymous
2010-07-16 edit
260
6384506c » anandology
2009-10-28 remove spam
261 * [launchpad site](http://launchpad.net/webpy)
Something went wrong with that request. Please try again.