Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 106 lines (67 sloc) 4.884 kB
a6e2009 AaronSw
anonymous authored
1 ---
2 layout: default
7118168 @aaronsw update front page
aaronsw authored
3 title: Welcome to web.py!
a6e2009 AaronSw
anonymous authored
4 ---
5
ac2b020 edit
Mau authored
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.
7877580 edit
ken authored
7
7118168 @aaronsw update front page
aaronsw authored
8 <div style="float: right">
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>
acdcf26 @aaronsw edit
aaronsw authored
28
29 ## Get Started
30
7118168 @aaronsw update front page
aaronsw authored
31 web.py 0.34 is the latest released version of web.py. You can install it by running:
acdcf26 @aaronsw edit
aaronsw authored
32
7118168 @aaronsw update front page
aaronsw authored
33 sudo easy_install web.py
acdcf26 @aaronsw edit
aaronsw authored
34
7118168 @aaronsw update front page
aaronsw authored
35 Or to get the latest development version from git:
acdcf26 @aaronsw edit
aaronsw authored
36
c672048 @anandology replace bzr with git
anandology authored
37 git clone git://github.com/webpy/webpy.git
38 ln -s `pwd`/webpy/web .
acdcf26 @aaronsw edit
aaronsw authored
39
dbcfc29 @segeda little typo
segeda authored
40 ## Who uses web.py?
acdcf26 @aaronsw edit
aaronsw authored
41
c74bd66 edit
anonymous authored
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.)
acdcf26 @aaronsw edit
aaronsw authored
43
44 [20]: http://reddit.com/
45
f69431d @aaronsw edit
aaronsw authored
46 [Frinki](http://frinki.com), a new social network in Spanish.
1371bf3 @jeffkyjin change chinese character display
jeffkyjin authored
47
7118168 @aaronsw update front page
aaronsw authored
48 [Yandex][21], the leading Russian search engine (their homepage alone receives 70 million daily page views).
49
50 [21]: http://yandex.ru
51
171fe2f @aaronsw rm more spam
aaronsw authored
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."
a0fd5d5 @harryf add local.ch, urldammit
harryf authored
53
c74bd66 edit
anonymous authored
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".
67eb8ff @benhoyt Added link to Oyster Hotel Reviews, which now uses web.py
benhoyt authored
55
171fe2f @aaronsw rm more spam
aaronsw authored
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).
ec2dd69 @daltonlp edit
daltonlp authored
57
171fe2f @aaronsw rm more spam
aaronsw authored
58 [archivd.com](http://www.archivd.com), a web application for collaborative research and archiving, is built on web.py.
a6bc460 @aristus added link to archivd under "who uses"
aristus authored
59
c74bd66 edit
anonymous authored
60 [Chiefmall](http://www.chiefmall.com/), a contractor search tool, was built with web.py.
8a7dea3 @aaronsw chiefmall
aaronsw authored
61
c74bd66 edit
anonymous authored
62 "[web.py inspired the] web framework we use at FriendFeed [and] the webapp framework that ships with App Engine..."
ac2b020 edit
Mau authored
63 - [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
64
c74bd66 edit
anonymous authored
65 "In the ecosystem of web frameworks, something needs to occupy the 'small, light and fast' niche. web.py is it."
66 - Lloyd Dalton, [colr.org](http://colr.org)
ec2dd69 @daltonlp edit
daltonlp authored
67
c74bd66 edit
anonymous authored
68 "We completed our server rewrite a few days ago with web.py and it was everything we could have wished for."
69 - Sam Hsiung, [YouOS][25]
acdcf26 @aaronsw edit
aaronsw authored
70
71 [25]: http://www.youos.com/
72
c74bd66 edit
anonymous authored
73 "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."
74 - Adam Atlas
acdcf26 @aaronsw edit
aaronsw authored
75
c74bd66 edit
anonymous authored
76 "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"
77 - Jonas Galvez, Aupeo [#][26]
acdcf26 @aaronsw edit
aaronsw authored
78
f1d7e1f edit
EloiseKuebler authored
79 [26]: http://shortb.net/~f561f1
acdcf26 @aaronsw edit
aaronsw authored
80
f69431d @aaronsw edit
aaronsw authored
81 "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."
c74bd66 edit
anonymous authored
82 - Delaunay Antoine built [a photo gallery][28] and [an agenda][34] with it
acdcf26 @aaronsw edit
aaronsw authored
83
6eb3cdd @targi Removed spam
targi authored
84 [28]: http://www.tendances-de-mode.com/
abad1b8 @aaronsw make history
aaronsw authored
85 [34]: http://metagenda.org
acdcf26 @aaronsw edit
aaronsw authored
86
f69431d @aaronsw edit
aaronsw authored
87 "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."
c74bd66 edit
anonymous authored
88 - Phillip J. Eby, creator of the Python Web Server Gateway Interface (WSGI) [#][30]
acdcf26 @aaronsw edit
aaronsw authored
89
f1d7e1f edit
EloiseKuebler authored
90 [30]: http://shortb.net/~f561f2
acdcf26 @aaronsw edit
aaronsw authored
91
c74bd66 edit
anonymous authored
92 "... 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.)"
7118168 @aaronsw update front page
aaronsw authored
93 - Guido van Rossum, creator of Python [#][31] (the magic, like upvars, has since been removed)
acdcf26 @aaronsw edit
aaronsw authored
94
f1d7e1f edit
EloiseKuebler authored
95 [31]: http://shortb.net/+f561f3
acdcf26 @aaronsw edit
aaronsw authored
96
c74bd66 edit
anonymous authored
97 "suffice to say I think Aaron is headed in the right direction."
98 - Harry Fuecks: [a simple wiki with web.py][32]
acdcf26 @aaronsw edit
aaronsw authored
99
100 [32]: http://www.sitepoint.com/blogs/2006/01/06/a-simple-wiki-with-webpy/
101
f69431d @aaronsw edit
aaronsw authored
102 "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 !"
3c2934f edit
Braga authored
103 - Kamal [simple blog in webpy, learning python the fun way][33]
acdcf26 @aaronsw edit
aaronsw authored
104
105 [33]: http://www.k4ml.com/node/165
Something went wrong with that request. Please try again.