FastAPI is a modern Python web framework for APIs, based on Starlette and Pydantic, emphasizing speed, async support, and auto-generated docs with OpenAPI.
It's ideal for data/ML-heavy backends.
Use FastAPI when:
Note: Use Depends for DI.
Run with uvicorn --reload.
Integrate SQLAlchemy async.