Skip to main content
Verglas treats notebook order as the dependency graph while keeping every code cell independently deployable. Cell N receives the JSON-safe state committed by cell N-1; it never receives definitions from future cells. Bulk rows travel through Streams rather than being copied between Worker responses.

Install the Python component builder

The CLI orchestrates the published Python Worker builder, so install it in the environment where you deploy:

Download the Iris notebook

Use the repository’s complete iris-streaming.ipynb, or create an nbformat-4 notebook with these cells:
The notebook metadata declares IRIS_RAW and IRIS_RESULTS Stream bindings. Cells append to Streams with producer identities derived from the cell and run IDs. Repeating a run ID is therefore an idempotent trigger retry; choosing a new run ID is an explicit rerun. A Pipeline connected to IRIS_RESULTS owns any downstream Sink writes.

Deploy

Authenticate, then deploy all code cells into one runtime process group:
The generated Worker projects and deployment ledger live under .verglas/notebooks/iris-streaming/. The command prints the independently addressable endpoint for every cell.

Trigger cells

Run the pending notebook suffix in order:
Rerun one cell with a new generation and invalidate its future suffix:
Retry an ambiguous trigger without duplicating Stream records:
Notebook cells write to Streams. Pipeline owns downstream transformations and Sink commits, including the SQL digest, source sequence range, and deterministic batch identity.

Notebook magics and Durable Object sources

The generated Python Worker recognizes two line magics:
%do supports GET, POST, PUT, PATCH, and DELETE. Add using payload before as response to send a JSON value as the request body. A service binding can carry object and origin routing metadata, while a Durable Object namespace resolves the object name with id_from_name. The repository’s DO streaming notebook reads /samples from the existing sensor-source object station-42, then sends the returned records to the sensor-raw Stream. Deploy and trigger it with the same commands: