Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 241 lines (143 sloc) 10.172 kb
a6e2009 AaronSw
anonymous authored
1 ---
2 layout: default
513553d edit
ken authored
3 title: About
a6e2009 AaronSw
anonymous authored
4 ---
5
513553d edit
ken authored
6 # About
a6e2009 AaronSw
anonymous authored
7
1ae2a93 Add Other languages and link to french FAQ translation
nux authored
8 Other languages : [français](/fr) | ...
9
ac2b020 edit
Mau authored
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.
7877580 edit
ken authored
11
513553d edit
ken authored
12 ## A complete web.py application
88602c2 @irrelative edit
irrelative authored
13
91aa63f @anandology upgrade to 0.3
anandology authored
14 import web
acdcf26 @aaronsw edit
aaronsw authored
15
91aa63f @anandology upgrade to 0.3
anandology authored
16 urls = (
17 '/(.*)', 'hello'
18 )
19 app = web.application(urls, globals())
acdcf26 @aaronsw edit
aaronsw authored
20
91aa63f @anandology upgrade to 0.3
anandology authored
21 class hello:
22 def GET(self, name):
23 if not name:
39a29fe @forrestv trying to get bad cache out
forrestv authored
24 name = 'World'
91aa63f @anandology upgrade to 0.3
anandology authored
25 return 'Hello, ' + name + '!'
acdcf26 @aaronsw edit
aaronsw authored
26
91aa63f @anandology upgrade to 0.3
anandology authored
27 if __name__ == "__main__":
28 app.run()
ad4122b clinch
anonymous authored
29
acdcf26 @aaronsw edit
aaronsw authored
30
31 ## Get Started
32
9b6f084 @anandology web.py 0.34 released
anandology authored
33 web.py 0.34 was released on 2010-03-20: [web.py-0.34.tar.gz][16]
acdcf26 @aaronsw edit
aaronsw authored
34
9b6f084 @anandology web.py 0.34 released
anandology authored
35 [16]: /static/web.py-0.34.tar.gz
acdcf26 @aaronsw edit
aaronsw authored
36
37 To always have the latest version of web.py, run:
38
c672048 @anandology replace bzr with git
anandology authored
39 git clone git://github.com/webpy/webpy.git
40 ln -s `pwd`/webpy/web .
acdcf26 @aaronsw edit
aaronsw authored
41
032dd53 @anandology links to download zip or tarball
anandology authored
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
acdcf26 @aaronsw edit
aaronsw authored
44 Upgrading from an older version? Be sure to [read the upgrade guide][17].
45
91aa63f @anandology upgrade to 0.3
anandology authored
46 [17]: http://webpy.org/docs/0.3/upgrade
70a7519 @forrestv trying to fix formatting issue
forrestv authored
47
dbcfc29 @segeda little typo
segeda authored
48 ## Who uses web.py?
acdcf26 @aaronsw edit
aaronsw authored
49
513553d edit
ken authored
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.)
acdcf26 @aaronsw edit
aaronsw authored
51
52 [20]: http://reddit.com/
53
513553d edit
ken authored
54 * [Frinki](http://frinki.com), a Facebook-like social network in spanish.
1371bf3 @jeffkyjin change chinese character display
jeffkyjin authored
55
513553d edit
ken authored
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."
a0fd5d5 @harryf add local.ch, urldammit
harryf authored
57
513553d edit
ken authored
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".
67eb8ff @benhoyt Added link to Oyster Hotel Reviews, which now uses web.py
benhoyt authored
59
513553d edit
ken authored
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)
ec2dd69 @daltonlp edit
daltonlp authored
61
513553d edit
ken authored
62 * [sitecanary.com](https://sitecanary.com/) a site for being alerted if your website is down.
d0455a8 @irrelative edit
irrelative authored
63
513553d edit
ken authored
64 * [watchdog.net](http://watchdog.net/), a political watchdog site, is built in web.py.
abad1b8 @aaronsw make history
aaronsw authored
65
513553d edit
ken authored
66 * [south of nowhere](http://southofnowhere.download-tvshows.com/), a web blog for watching southofnowhere tvshow, is built on web.py
a6bc460 @aristus added link to archivd under "who uses"
aristus authored
67
513553d edit
ken authored
68 * [colr.org](http://www.colr.org), a color scheme picking site, is built in web.py.
3f1c887 @daltonlp edit
daltonlp authored
69
513553d edit
ken authored
70 * [Chiefmall](http://www.chiefmall.com/), a contractor search tool, was built with web.py.
e5f9e4a edit
BenHurt authored
71
513553d edit
ken authored
72 * [grouplite.com](http://www.grouplite.com) uses web.py.
8a7dea3 @aaronsw chiefmall
aaronsw authored
73
513553d edit
ken authored
74 * [Yandex][21], a Russian traffic provider whose homepage alone receives 70 million daily page views, uses web.py for certain projects.
acdcf26 @aaronsw edit
aaronsw authored
75
a8e1aa4 remove HTML junk that was breaking Markdown link 21 to yandex.ru
pmocek authored
76 [21]: http://yandex.ru
acdcf26 @aaronsw edit
aaronsw authored
77
513553d edit
ken authored
78 * [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."
acdcf26 @aaronsw edit
aaronsw authored
79
80 [22]: http://www.lshift.net/
81 [23]: http://exproretail.com/
82 [24]: http://travel.dk.com/
513553d edit
ken authored
83
84 * [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.
3166efc @aaronsw edit
aaronsw authored
85
86 [m]: http://micropledge.com/
87
513553d edit
ken authored
88 * The [bivalidator](http://xhtml-css.com/) checks your HTML and CSS validation.
2072e23 @aaronsw edit
aaronsw authored
89
513553d edit
ken authored
90 * [jottit.com](http://jottit.com) is built with web.py. Jottit makes getting a website as easy as filling out a textbox.
08a134a @aaronsw edit
aaronsw authored
91
513553d edit
ken authored
92 * [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.
ec3aa64 add tasko to 'who uses web.py'
Young Hoo authored
93
94 [t]: http://taskodone.com/
95
513553d edit
ken authored
96 * [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, [desentupidora](http://desentupidorasanehidro.com.br/), even fictional characters. It's also a place where you can see how the world feels about you.
166bec8 added damiga.com as a user of web.py
manbefree authored
97
98 [d]: http://damiga.com/
99
513553d edit
ken authored
100 * [Fotosaur.us][f], an unbelievably rad image bookmarking app, was written with web.py.
4ae6531 @benogle added fotosaur.us to the web apps list. word up.
benogle authored
101
102 [f]: http://fotosaur.us
103
be2c18a add link to french tutorial
anonymous authored
104
513553d edit
ken authored
105 * [URIs.us][u] is service for creating short urls. Deploying on Google App Engine
02fd2ee add uris link
slav0nic authored
106
107 [u]: http://uris.us
108
c50d447 @skarbat edit
skarbat authored
109
513553d edit
ken authored
110 * [xykra] [x] is a minimalist (160 Python lines) wiki using [Markdown](http://daringfireball.net/projects/markdown/).
c50d447 @skarbat edit
skarbat authored
111
b02c381 @benogle edit
benogle authored
112 [x]: http://xykra.org
c50d447 @skarbat edit
skarbat authored
113
513553d edit
ken authored
114 * [Edgarest] [y] is built with web.py.Edgarest provides fast, intuitive search of SEC Filings.
dbdb051 edit
bill authored
115
116 [y]: http://edgarest.com
c50d447 @skarbat edit
skarbat authored
117
9a98f4c @anandology edit
anandology authored
118
513553d edit
ken authored
119 * [Wklej.to] [z] is a nopaste/Pastebin app with Free and Open api, and of course with desktop plugins and clients.
6ff725b @pigmej Added one app
pigmej authored
120
121 [z]: http://wklej.to
122
513553d edit
ken authored
123 * [Sysinternals CD] [zz] integrates webpy and postgresql to render an automated website
a09b721 @skarbat edit
skarbat authored
124
3795861 @pigmej fixed broken link to wklej.to ( sysinternals broks it)
pigmej authored
125 [zz]: http://sysinternals.xykra.org
a09b721 @skarbat edit
skarbat authored
126
513553d edit
ken authored
127 * [Biomed Search] [zzz] searches over a million biomedical images images in nicely viewable sizes.
bf8c51e @alexksikes added Biomed Search
alexksikes authored
128
129 [zzz]: http://www.biomed-search.com
130
513553d edit
ken authored
131 * [simple-is-better.com] [zzzz] python.cn(news, jobs), bulid with web.py
132
133 [zzzz]: http://www.simple-is-better.com
134
135
136 ## Buzz
137
138 * "[web.py inspired the] web framework we use at FriendFeed [and] the webapp framework that ships with App Engine..."
ac2b020 edit
Mau authored
139 - [Brett Taylor](http://bret.appspot.com/entry/experimenting-google-app-engine), co-founder of FriendFeed and original tech lead on Google App Engine
f6620af @aaronsw add google app engine
aaronsw authored
140
513553d edit
ken authored
141 * "In the ecosystem of web frameworks, something needs to occupy the 'small, light and fast' niche. web.py is it." - Lloyd Dalton, [colr.org](http://colr.org)
ec2dd69 @daltonlp edit
daltonlp authored
142
513553d edit
ken authored
143 * "We completed our server rewrite a few days ago with web.py and it was everything we could have wished for." - Sam Hsiung, [YouOS][25]
acdcf26 @aaronsw edit
aaronsw authored
144
145 [25]: http://www.youos.com/
146
513553d edit
ken authored
147 * "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." - Adam Atlas
acdcf26 @aaronsw edit
aaronsw authored
148
513553d edit
ken authored
149 * "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, Aupeo [#][26]
acdcf26 @aaronsw edit
aaronsw authored
150
f1d7e1f edit
EloiseKuebler authored
151 [26]: http://shortb.net/~f561f1
acdcf26 @aaronsw edit
aaronsw authored
152
513553d edit
ken authored
153 * "the first framework ... where I could just scribble code and see something working without even having to try to understand the logic of it as [acompanhantes](http://asacompanhantessp.com.br/). A pleasure to integrate." - Delaunay Antoine built [a photo gallery][28] and [an agenda][34] with it
acdcf26 @aaronsw edit
aaronsw authored
154
6eb3cdd @targi Removed spam
targi authored
155 [28]: http://www.tendances-de-mode.com/
abad1b8 @aaronsw make history
aaronsw authored
156 [34]: http://metagenda.org
acdcf26 @aaronsw edit
aaronsw authored
157
513553d edit
ken authored
158 * "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 as [Iluminação](http://www.etil.com.br/) out there you *would* like." - Phillip J. Eby, creator of the Python Web Server Gateway Interface (WSGI) [#][30]
acdcf26 @aaronsw edit
aaronsw authored
159
f1d7e1f edit
EloiseKuebler authored
160 [30]: http://shortb.net/~f561f2
acdcf26 @aaronsw edit
aaronsw authored
161
513553d edit
ken authored
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.)" - Guido van Rossum, creator of Python [#][31]
acdcf26 @aaronsw edit
aaronsw authored
163
f1d7e1f edit
EloiseKuebler authored
164 [31]: http://shortb.net/+f561f3
acdcf26 @aaronsw edit
aaronsw authored
165
513553d edit
ken authored
166 * "suffice to say I think Aaron is headed in the right direction." - Harry Fuecks: [a simple wiki with web.py][32]
acdcf26 @aaronsw edit
aaronsw authored
167
168 [32]: http://www.sitepoint.com/blogs/2006/01/06/a-simple-wiki-with-webpy/
169
513553d edit
ken authored
170 * "a very fascinating moment for me. The feelings just like the first time I wrote my php script as [relogio de ponto](http://www.mtksistemas.com.br/) ... it sure have let me learn python in the fun way. Good work aaron !" - Kamal [simple blog in webpy, learning python the fun way][33]
acdcf26 @aaronsw edit
aaronsw authored
171
172 [33]: http://www.k4ml.com/node/165
ad4122b clinch
anonymous authored
173
513553d edit
ken authored
174
175 ## documentation:
ad4122b clinch
anonymous authored
176
177 * [installation](/install)
178 * [english](/install)
179 * [mac os x](/install_macosx)
180 * [español](/install/es)
d2c4d85 @jeffkyjin add chinese page link of FAQ
jeffkyjin authored
181 * [日本語](/install/ja)
eb16601 @jeffkyjin change chinese character display
jeffkyjin authored
182 * [简体中文](/install/zh-cn)
b14a381 edit
Alessandro Agosto authored
183 * [Italiano](/install/it)
1371bf3 @jeffkyjin change chinese character display
jeffkyjin authored
184 * [français](/install/fr)
185
ad4122b clinch
anonymous authored
186
91aa63f @anandology upgrade to 0.3
anandology authored
187 * [tutorials for version 0.3 (latest)](/tutorial3)
188 * [english](/tutorial3.en)
d64837b @jeffkyjin add tutorials 0.3 chinese page link
jeffkyjin authored
189 * [简体中文](/tutorial3.zh-cn)
e5f9e4a edit
BenHurt authored
190 * [p?????? 0.2](http://webpy.infogami.com/tutorial2.ru)
191 * [????](http://www.dup2.org/files/web.py%200.2%20tutorial.html)
ad4122b clinch
anonymous authored
192 * [template.py tutorial](/templetor)
193 * [form.py (short) tutorial](/form)
d2c4d85 @jeffkyjin add chinese page link of FAQ
jeffkyjin authored
194 * [日本語](/tutorial2.ja)
e5f9e4a edit
BenHurt authored
195 * [e???????](http://webpy.org/tutorial2.el)
5c578e2 add again forgotten french translation
anonymous authored
196 * [français](/tutorial3.fr)
ad4122b clinch
anonymous authored
197
198 * [tutorials (old version)](/tutorial):
199 * [english](http://webpy.org/tutorial)
200 * [español](/tutorial/es)
201 * 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)
202 * [français](http://sunfox.org/tutoriel-web-py-fr/)
e5f9e4a edit
BenHurt authored
203 * [p??????](http://bobuk.infogami.com/webpytrans)
d2c4d85 @jeffkyjin add chinese page link of FAQ
jeffkyjin authored
204 * [日本語](http://kinneko.googlepages.com/webpy_tutorial_ja)
513553d edit
ken authored
205
ad4122b clinch
anonymous authored
206
207 * [code documentation](/docs)
208
209
210 * FAQ:
1371bf3 @jeffkyjin change chinese character display
jeffkyjin authored
211 * [english](http://webpy.org/faq)
ad4122b clinch
anonymous authored
212 * [español](/faq/es)
e5f9e4a edit
BenHurt authored
213 * [???????](/faq/ru)
214 * [???](http://kinneko.googlepages.com/webpy_faq)
7877580 edit
ken authored
215 * [日本語](/faq/ja)
e91fd0b @jeffkyjin edit
jeffkyjin authored
216 * [简体中文](/faq/zh-cn)
1ae2a93 Add Other languages and link to french FAQ translation
nux authored
217 * [français](/faq/fr)
ad4122b clinch
anonymous authored
218
18d5164 The addition of the Japanese translation link of Cookbook.
reizn authored
219 * cookbook:
d2c4d85 @jeffkyjin add chinese page link of FAQ
jeffkyjin authored
220 * [日本語](/cookbook/ja)
098e2f8 @xcombelle +cookbook english
xcombelle authored
221 * [english](/cookbook)
eb16601 @jeffkyjin change chinese character display
jeffkyjin authored
222 * [简体中文](/cookbook/zh-cn)
18d5164 The addition of the Japanese translation link of Cookbook.
reizn authored
223
ad4122b clinch
anonymous authored
224 * [code samples](/src)
513553d edit
ken authored
225 * [Otimização de sites](http://otimizacao-de-websites.com/)
ad4122b clinch
anonymous authored
226 * [friendly hosts](/hosts)
227 * [related projects](/related)
228 * [tricks](/tricks)
229
f1d7e1f edit
EloiseKuebler authored
230
513553d edit
ken authored
231 ## community
ad4122b clinch
anonymous authored
232
513553d edit
ken authored
233 * [**mail list**](http://groups.google.com/group/webpy/ "web.py google group"): home of the web.py discussion
6a781ce @aaronsw edit
aaronsw authored
234 * [**irc channel**](irc://irc.freenode.net/webpy "#webpy on irc.freenode.net"): home of the web.py talk
8667b97 @aaronsw edit
aaronsw authored
235 * [powered by web.py buttons](http://luke.jottit.com/webpy_logo)
236
ad4122b clinch
anonymous authored
237
513553d edit
ken authored
238 ## development
e5f9e4a edit
BenHurt authored
239
513553d edit
ken authored
240 * [git repository](http://github.com/webpy/webpy)
6384506 @anandology remove spam
anandology authored
241 * [launchpad site](http://launchpad.net/webpy)
Something went wrong with that request. Please try again.