Skip to main content

Generic server-authoritative sync library for FastAPI

Project description

lab-link Python

FastAPI/Pydantic backend runtime for lab-link.

Use it to register authoritative state, expose a WebSocket sync endpoint, run commands with hardware side effects, and broadcast versioned JSON Patch updates.

uv add lab-link
from lab_link import LabSync

sync = LabSync()
sync.register_state(AppState, initial=state)
app = sync.create_app()

Full docs: https://sansseriff.github.io/lab-link/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lab_link-0.1.1.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lab_link-0.1.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page