4 ms·
Being that Django isn't to taste and you love SQLAlchemy (I have the same biases), I reckon Flask and Pyramid would be the best choices these days. They are bo
by antod 11y ago
Being that Django isn't to taste and you love SQLAlchemy (I have the same biases), I reckon Flask and Pyramid would be the best choices these days.
They are both non opinionated frameworks that do well with bringing in external code. I think both frameworks have opinionated/specialised 'metaframeworks' (eg Kotti or Eve) available though for those that don't want to make too many architecture or library choices.
If I had to differentiate between Flask and Pyramid, I would say that Flask has a slight edge for getting projects up and running while Pyramid is a bit better for projects that will grow and increase in complexity.
Or another way, Flask leans towards just getting stuff done (Hackers) while Pyramid leans towards enabling clean architectures (Software Engineers).
But there is a huge overlap in those characterisations - Pyramid is still great for getting stuff done and Flask is still great for cleanly architecting stuff.
Flask seems to be better known though and have more users, while Pyramid seems to have better release momentum lately. Those are probably the few objective advantages either has over the other.
- trjordan 11y agoInteresting to hear about Pyramid. I'd always gotten the feeling that Flask was a bit lighter-weight. I think I'm going to steer clear of Pyramid because 1) I worked with it before, and want to try something new-ish and 2) I ended up fighting with a bunch of the defaults in Pylons / Pyramid. I think they got more sane over time, but I get the feeling that Pyramid devs and I would get along, but do things like finish each others sentences with the wrong thing. "Do you know what would go perfectly with this dinner?" "Yes, beer!" "... er, I was thinking coke. But, yeah, beer would work, too, I guess." If nothing else, I'm glad to hear those two are the top of your list. I'm feel like I "get" what both of them want you to do, which helps me (personally) a ton.