views:

111

answers:

2

What HTTP framework should I use for a simple application with implied scalability, priferable Pythonic? I would like to be able to smoothly add new features to my app when it has already been deployed.

+1  A: 

Web.py

It might look too simple, but it's a joy to use.

It can be deployed on google appengine. Should scale pretty well. Can be used with any WSGI server.

rincewind
Thanks, it looks nice, I'm diving into it right now. Do you know how to call run()? The tutorial says it's web.run. But thre seems to be no run() in web module.
Alex
Call the run() method of your application object (it's app.run() usually).
rincewind
I think I haven't built an app yet. In the tutorial http://webpy.org/tutorial2.en there is this: import web; urls=('/', 'index', '', 'index'); class index: def GET(self): print "Hello World!"; web.run(urls, globals()); How do I fix so that it starts?
Alex
I found the answer: in web.py 3 you should do app = web.application(urls,globals()); app.run()
Alex
+2  A: 

I'm a big fan of Pylons. It behaves just like a framework should; not excessive on the magic and contains many good components that you can pick-and-choose that help you hit the ground running. It's small and easy to deploy, and requires minimal boilerplate or other syntactic cruft. Scalability seems pretty good -- I've not run into any issues, and major parts of Reddit utilize libraries from Pylons.

cookiecaper