First public release.
FastAPI router and thread-safe job engine for streaming G-code to GRBL
controllers, built on pygrbl-streamer.
A library, not an application: mount the router in your own FastAPI app.
Features
- One active job per serial port, each on its own thread
- Jobs stream an ordered list of G-code files
POST /stream,POST /stop,POST /pause,GET /status- Live progress and retained terminal result (
done/error) per port - Safety teardown on every job end: soft reset (laser off) + disconnect
- Injectable
streamer_factoryfor testing without hardware - Events on the
pygrbl_serverlogger
Install
pip install pygrbl-server
See the README for usage,
API and security notes.