puda-edge
Installation
SKILL.md
Puda Edge
Help write Python edge services: thin hardware wrappers that connect to NATS and advertise machine commands.
Follow Integrating a New Machine for repo layout, main.py config, telemetry, and multi-machine PCs. Scaffold from edge-python-template. Name the repo puda-<machine_id>-edge.
Python only. For host/NATS/hardware commissioning, use puda-deployment. After commands work, install the CLI with puda.
Scaffold
- Create the repo from the template. Resolve every
TODO. - Set a unique lowercase hyphenated
MACHINE_IDin.envwithNATS_SERVERS. - Implement
driver.py, then wire config and the driver intomain.py. - Keep helpers private (
_name). Only@commandmethods are advertised.
Verify with puda machine commands <machine_id> after the edge is connected.
Several instruments on one PC can share one uv workspace; each subdirectory gets its own MACHINE_ID, driver.py, and main.py. See the docs and PUDAP/ViPSA.