Live data from Hacker News

Ask HN: What Web frameworks exist around Python?

news.ycombinator.com

11–20 of 32 posts

Re: Ask HN: What Web frameworks exist around Python?

#13
post #9

Werkzeug - the anti-framework. It is more like a library and that's good as it allows you do things the way you like... http://werkzeug.pocoo.org/

Werkzeug is fantastic. We used it with jinja2[1], SQLAlchemy[2], and flatland[3] with great success.

[1] http://jinja.pocoo.org/2/ [2] http://www.sqlalchemy.org/ [3] http://bitbucket.org/jek/flatland/overview/

Re: Ask HN: What Web frameworks exist around Python?

#18

http://webpy.org/ import web urls = ( '/(.*)', 'hello' ) app = web.application(urls, globals()) class hello: def GET(self, name): if not name: name = 'world' return 'Hello, ' + name + '!' if __name__ == "__main__": app.run()

It's great for writing small one-offs (the sort of thing you might use PHP for) and web interfaces for non-web applications. But for large projects it's really not suitable.

Re: Ask HN: What Web frameworks exist around Python?

#20
post #15

The reason that there are so many frameworks is that writing one used to be a rite of passage for Python programmers. It was so easy to write your own. FWIW Guido settled on Django. I dont know if he has changed his mind since.

I started diving into Django a few months ago for a side project, and haven't looked back. I know a ton of Django programmers in the area, and there's a great community for Django devs online.
Post reply on HN