Skip to main content
BlobRouter v0.1 · Last updated: August 2026 · Architecture version: 2.0
Python client for the same control-plane API as the TypeScript SDK. Server-side only — keep API keys out of browsers and notebooks that sync publicly.

Install

Constructor

upload(...)

Accepts bytes or file-like IO[bytes].
Returns a dict: Routing warnings are also emitted via Python’s warnings.warn().

Retry behavior

Same policy as TypeScript: retry API calls on network / 5xx / 408 / 429; never retry other 4xx; never retry the provider PUT.

PyTorch checkpoint example

get(file_id) / delete(file_id)

Errors

Priority values