Use it when
- You want a simple syntax that makes creating endpoints fast.
- You want to have automatic API docs based on Swagger or ReDoc.
- FastAPI does not provide model management features as dedicated model servers do, such as model versioning, scaling, and A/B testing.
- FastAPI creates APIs, but it does not come with a webserver. You will need to deploy it with a Python webserver.
Airflow + MLflow stack
pip install fastapi