Last time, the answer could be summarized as "Django but ...", with Pylons and Flask getting a good mention. Have these now "overtaken" the incumbent? What about Web2Py?
Ask HN: Best Python web framework
1–10 of 110 posts
Re: Ask HN: Best Python web framework
#2Re: Ask HN: Best Python web framework
#3Flask is nicer (and lets you seamlessly use SQLAlchemy, which is so much better than Django's crappy ORM), but also tiny. It's basically just a bit of glue between werkzeug, SQLAlchemy and Jinja2.
Pyramid has more things in it than Flask and also uses SQLAlchemy.
web2py appears both bad and unpopular to me.
Re: Ask HN: Best Python web framework
#4We have found Django to be great for throwing up a site quickly. We primarily use Pyramid now for our more serious development as it fits more with what we're trying to achieve. My feeling is the beauty of Python is that there are more than one ways of doing something. Define what you want out of your framework, try some and then see how you feel
Re: Ask HN: Best Python web framework
#5Re: Ask HN: Best Python web framework
#6The best for what? What do you want to do? We have found Django to be great for throwing up a site quickly. We primarily use Pyramid now for our more serious development as it fits more with what we're trying to achieve. My feeling is the beauty of Python is that there are more than one ways of doing something. Define what you want out of your framework, try some and then see how you feel
However I have a longer term concern, which is that I don't want to be learning a new framework for every project or have legacies with the "wrong" framework knocking around. This is why I framed the question in general terms.
Re: Ask HN: Best Python web framework
#7I prefer pylons above Django. Simply because it feels less like a framework.
Re: Ask HN: Best Python web framework
#8Re: Ask HN: Best Python web framework
#9The best for what? What do you want to do? We have found Django to be great for throwing up a site quickly. We primarily use Pyramid now for our more serious development as it fits more with what we're trying to achieve. My feeling is the beauty of Python is that there are more than one ways of doing something. Define what you want out of your framework, try some and then see how you feel
"There should be one-- and preferably only one --obvious way to do it."
Re: Ask HN: Best Python web framework
#10It offers a good balance between Django (which i find a little big and unwieldy), and Flask (which I think suffers from the opposite problem).