I have moved most of my stuff to FastAPI. It’s so much more enjoyable than flask. https://fastapi.tiangolo.com/
As casual python user I found Flask really nice for my projects
Flask 2.0.0 has been merged into master
11–20 of 55 posts
Re: Flask 2.0.0 has been merged into master
#12Re: Flask 2.0.0 has been merged into master
#13Earlier quoted context omitted.
As casual python user I found Flask really nice for my projects
IMHO, FastAPI is more obvious and less magical than Flask. Give it a shot, its super easy to write endpoints.
Re: Flask 2.0.0 has been merged into master
#14I have moved most of my stuff to FastAPI. It’s so much more enjoyable than flask. https://fastapi.tiangolo.com/
I've moved most of my Flask projects to Express and NodeJS. Flask was just a PITA to deploy properly in a way that it could handle lots of concurrent connections without a massive memory footprint, and async in Python is a mess. The JS ecosystem has on the other hand moved to async and Promises as the standand/default way to implement things, which makes things much easier. Express middleware is also just easier to w…
Weird, none of the issues in my career as a full stack dev ever have been due to a lack of async primitives.
There are much more elegant ways of doing concurrency than Promises and coloured (async vs regular) functions, if that's the issue.
Re: Flask 2.0.0 has been merged into master
#15I have moved most of my stuff to FastAPI. It’s so much more enjoyable than flask. https://fastapi.tiangolo.com/
I've moved most of my Flask projects to Express and NodeJS. Flask was just a PITA to deploy properly in a way that it could handle lots of concurrent connections without a massive memory footprint, and async in Python is a mess. The JS ecosystem has on the other hand moved to async and Promises as the standand/default way to implement things, which makes things much easier. Express middleware is also just easier to w…
Re: Flask 2.0.0 has been merged into master
#16Earlier quoted context omitted.
I've moved most of my Flask projects to Express and NodeJS. Flask was just a PITA to deploy properly in a way that it could handle lots of concurrent connections without a massive memory footprint, and async in Python is a mess. The JS ecosystem has on the other hand moved to async and Promises as the standand/default way to implement things, which makes things much easier. Express middleware is also just easier to w…
> Flask was just a PITA to deploy properly in a way that it could handle lots of concurrent connections without a massive memory footprint, and async in Python is a mess. That makes me concerned. Does anyone here know if FastAPI is better? How many concurrent connections could your Express app handle at once?
Re: Flask 2.0.0 has been merged into master
#17I have moved most of my stuff to FastAPI. It’s so much more enjoyable than flask. https://fastapi.tiangolo.com/
I've moved most of my Flask projects to Express and NodeJS. Flask was just a PITA to deploy properly in a way that it could handle lots of concurrent connections without a massive memory footprint, and async in Python is a mess. The JS ecosystem has on the other hand moved to async and Promises as the standand/default way to implement things, which makes things much easier. Express middleware is also just easier to w…
Re: Flask 2.0.0 has been merged into master
#18Honestly, I thought flask was mostly just in maintenance mode. Glad to see it progress!
Re: Flask 2.0.0 has been merged into master
#19In case anyone is interested in the major changes in 2.0.x: https://flask.palletsprojects.com/en/master/changes/
I love that this happens to larger libraries now. It doesn't need to be 100% complete, but it will still improve many devs' lives. I hope it will become the default for new projects and major updates.
Re: Flask 2.0.0 has been merged into master
#20I have moved most of my stuff to FastAPI. It’s so much more enjoyable than flask. https://fastapi.tiangolo.com/
Flask is still my go-to Python web framework. Ten years on, and I haven't stopped loving how small, elegant, and flexible it is. It set the bar for many other similar projects.