What's the preferred Python Web Framework these days? I've read a lot of love for Litestar (formerly Starlite), since it seems people prefer it over FastAPI, Flask, etc. https://litestar.dev Or is the preferred web framework still Django?
I've always felt, and this hasn't changed recently, that if you're going to need more than, say, 3 of the cross cutting concerns that Django provides for, then it'll be much more maintainable in the long run to just use Django rather than effectively building a custom solution out of parts. The flip side: if you're building a small internal API that only needs a couple of these, Django might be overkill. What do I me…
1. You're making something with 100 lines, which you're absolutely sure will stay 100 lines. Go with Flask.
2. Otherwise, Django.
Django is great at getting out of your way when you don't need its functionality, so you can just ignore most of it if you don't need it.