Transports move
Base object graphs, the shape of versions published before 2026.9. To load or
publish any version, use operations.receive3 and operations.send3 — see
Operations.Overview
Transports define where Speckle objects are stored and retrieved from. They provide a consistent interface foroperations.send() and operations.receive().
ServerTransport
Sends and receives objects from a Speckle server. This is the primary transport for production use.Constructor
Provide one authentication method:
client, account, or token + url.Usage
Authentication Options
Using Client (Recommended):MemoryTransport
Stores objects in memory. Useful for testing and temporary operations.objects(Dict[str, str]) - Dictionary of stored objectssaved_object_count(int) - Number of objects saved
SQLiteTransport
Stores objects in a local SQLite database for persistent local storage.- Windows:
%APPDATA%\{app_name}\{scope}.db - macOS:
~/Library/Application Support/{app_name}/{scope}.db - Linux:
~/.config/{app_name}/{scope}.db
- Local caching of server data
- Offline workflows
- Persistent local storage
Multiple Transports
Send to multiple locations simultaneously:Custom Transports
Create custom transports by extendingAbstractTransport:
Comparison
Related
Operations
Send and receive operations
SpeckleClient
Client setup