Python service that connects a syrup machine controller to MQTT.
- Python 3.11+
- uv
- Install dependencies:
uv sync --all-groups- Run the CLI:
uv run syrup-controller --help- Run with simulator mode:
uv run syrup-controller --simulatorRun lint, type checks, and tests:
uvx ruff check .
uv run pyright
uv run pytest -qRun pre-commit on all files:
uvx pre-commit run --all-filesBuild image:
docker build -t syrup-controller .Run image:
docker run --rm syrup-controller --help- Dependencies are locked with uv.lock for reproducible builds.
- CI runs checks, tests, package build, and Docker build.