python-web-realtime-streaming icon indicating copy to clipboard operation
python-web-realtime-streaming copied to clipboard

Example of real-time time-series data streaming from Python/FastAPI application using WebSockets

Python real-time time-series data streaming using FastAPI and WebSockets

Read the blog post: Real-time data streaming using FastAPI and WebSockets.

To run the example install Poetry and then execute:

poetry install && poetry shell
uvicorn main:app --reload