Super-simple live sensor graph built on FastAPI, Socket.IO and Chart.js.
- Python 3.14+
- uv
# Install Python 3.14 and dependencies into .venv
$ uv sync
# Start the FastAPI server with reload on http://localhost:8000
$ uv run live-graphOpen http://localhost:8000 and click start to begin receiving live data.
In a separate terminal:
$ uv run python samples/client_test.py --channel <channel-name>
# Example: uv run python samples/client_test.py --channel orange-catThis emits a random walk payload every 500 ms via the Socket.IO async client.
$ uv run ruff check
$ uv run ruff format
$ uv run basedpyright