Server-sent events using FastAPI Pre-requisites Python 3.10 Poetry Installation poetry install Usage poetry run uvicorn main:app --reload You can then access this example at http://127.0.0.1:8000