by andrewstuart · 3y ago · 0 comments
FastAPI is built on Starlette and adds more batteries included.
If you’re interested in async you’re far better off to go async native than with a framework that’s synchronous.
Asyncpg is the fastest Python Postgres driver there is, works well with sanic, Starlette or FastAPI.
I’ve been keeping an eye on FastAPI, Starlette, and a few other libraries but, compared to Django, they’re mostly powered by hype. I found a bunch of Pydantic bugs 2(3?)+ years ago that are only now getting addressed in v2.