guides

Edge and IoT Deployment

Deploy compiled Python to edge devices and IoT hardware.

Published May 30, 2026

Cross-Compilation

Pyvorin supports targeting different architectures:

pyvorin compile main.py --target linux_arm64

ARM64 / Raspberry Pi

pyvorin compile main.py --target linux_arm64 --function sensor_loop

Minimal Container Images

FROM alpine:latest
COPY --from=pyvorin-builder /app/artifact.so /app/
COPY main.py /app/
CMD ["python", "/app/main.py"]

Resource Constraints

  • Disable telemetry on bandwidth-limited devices: pyvorin telemetry off
  • Use local compilation to avoid network round-trips.
  • Minimise cache size with aggressive retention policies.

OTA Updates

Compile new firmware logic server-side and push artifact binaries to edge devices. Devices load the new .so without reinstalling Python dependencies.