3 ms·
Pyramid is the best of all of these if you don't need async. Look at, for example, the best of all the flask tutorials of all time, Miguel Greenberg. He still
by ianamartin 7y ago
Pyramid is the best of all of these if you don't need async.
Look at, for example, the best of all the flask tutorials of all time, Miguel Greenberg. He still has to create a ton of the boilerplate and then restructure the app half way through.
Pyramid is the goldilocks of frameworks: Just enough to get you going without insanity, and not too much to bog you down.
Here's the real truth: If you're going to build anything nontrivial, you need a ton of stuff that Flask doesn't give you, and the packages that are easy to install and add to your project are mostly anti-pattern.
If you are going to build something nontrivial with Django, you're going to have to tear out large parts of it and redo stuff.
Pyramid is the best balance. The WebSauna team si doing some amazing stuff, and I'm working on something similar that's a little more lightweight. Pyramid is a very active ecosystem. Just a little less exciting because we have some conceptual relationships with Pylons.
If you need async or websockets, I use starlette/fast-api for endpoints that get hit from my mako templates.