Skip to main content

OuterProduct SDK

outerproduct-sdk is the sole public Python package for OuterProduct. It owns the Workspace API, runtime serialization, Files, Unity Catalog adaptation, Flight SQL, and UC-governed object storage. Its client hierarchy has two levels: OuterProductClient manages Workspaces, and WorkspaceClient owns all UC and non-UC resource operations for one selected Workspace.

Natural workspace API

The client is an authenticated session, not a workspace. workspace(name) resolves or provisions a Workspace resource within the authenticated organization and uses its separate UUID for workspace-owned APIs. Omitting the name ensures and selects workspaces/default.

from outerproduct_sdk import OuterProductClient, WorkspaceClient

client = OuterProductClient("token")
workspace = client.workspace()
catalogs = workspace.list_catalogs()

base_image = (await workspace.list_images())[0]
image = await workspace.build_image(
    base_image.name,
    display_name="analytics",
    description="Pinned analytics dependencies",
    pypi_dependencies=("numpy==2.3.2", "polars>=1.33"),
)
created = await workspace.create_sandbox(
    image.name,
    cpu=1,
)

sandbox = workspace.get_runtime_handle(created.name)


async def add(
    runtime: WorkspaceClient,
    left: int,
    right: int,
) -> int:
    return left + right


run = await sandbox.submit(add, 20, 22)
result = await sandbox.compute(add, 20, 22)

await workspace.write_file("results/answer.txt", str(result).encode())
answer = await workspace.read_file("results/answer.txt")

Images are immutable registry artifacts. build_image() layers canonical PyPI requirements onto an existing workspace image and returns only after the new digest is published. Sandboxes are immutable snapshots. Their create_sandbox(), get_sandbox(), and list_sandboxes() lifecycle methods live directly on the Workspace client. submit() returns after the scheduler acknowledges a durable computation. compute() submits and polls to a terminal state, yielding to asyncio between polls. Natural computed functions are async and receive their runtime workspace as the first positional parameter.

Unity Catalog CRUD, temporary table/volume/path/model credentials, Files, Flight SQL, sandboxes, and runs are all flat Workspace methods. JSON literals, objects implementing the SDK serialization contract, and Pydantic models can cross run boundaries.

Storage boundaries

File operations are flat methods on the workspace-scoped client. Sandbox volumes map Unity Catalog volumes to container paths and are materialized for each managed invocation; they are not a provider-native POSIX mount or a write-back filesystem.

Use store_from_url, store_from_volume, store_from_table, or store_from_path for refresh-aware UC-governed object stores. download_s3_prefix(client, prefix, target) securely streams such a prefix into a local directory with bounded concurrency.

Packaging

The published distribution is one wheel with one native extension. Internal serialization and UC object-store Python sources are vendored under outerproduct_sdk._vendor; the wheel has no dependency on separately published OuterProduct client packages. Third-party runtime dependencies remain ordinary wheel dependencies.

Release files for outerproduct-sdk 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for outerproduct-sdk 0.1.12
File Size Uploaded
outerproduct_sdk-0.1.12.tar.gz 1.1 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for outerproduct-sdk 0.1.12
File
outerproduct_sdk-0.1.12-cp314-cp314t-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Details
outerproduct_sdk-0.1.12-cp314-cp314t-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 Details
outerproduct_sdk-0.1.12-cp314-cp314t-macosx_15_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 15.0+ ARM64 Details
outerproduct_sdk-0.1.12-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details
outerproduct_sdk-0.1.12-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details

Total release size: 22.2 MB

Release files / outerproduct_sdk-0.1.12.tar.gz

Download URL outerproduct_sdk-0.1.12.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
b100013fc80a89622f905558da1a17ec13cfead0eff5a6e6e308f69fedbb6b8c
BLAKE2b-256 checksum
How to use checksums
8b98b3fb3f46b7ebf4c8e1b3c6443def993a059789d4b5acb0da5bef690d7b12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release files / outerproduct_sdk-0.1.12-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL outerproduct_sdk-0.1.12-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 4.3 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
cbcd30e6a3438303ff1c509c75f0368142d6a99c8ce4ddb74fdb6b4eb9e08a9c
BLAKE2b-256 checksum
How to use checksums
06945bad65a41c62e1ed8a6ef95b0313705fe5cbb479f70e0d3d69d18a9d9238
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release files / outerproduct_sdk-0.1.12-cp314-cp314t-manylinux_2_28_aarch64.whl

Download URL outerproduct_sdk-0.1.12-cp314-cp314t-manylinux_2_28_aarch64.whl
Size 4.2 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
ec222c8fa9c0eca5e630d6b049aaf8ef389c5cf878d1ff981c784f66e0572367
BLAKE2b-256 checksum
How to use checksums
a4722232b3fe970faec7c05774342c528bff2e9a7c7ee1cd413e4fa36d164b1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release files / outerproduct_sdk-0.1.12-cp314-cp314t-macosx_15_0_arm64.whl

Download URL outerproduct_sdk-0.1.12-cp314-cp314t-macosx_15_0_arm64.whl
Size 4.1 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
b7487df84e2f713eb15f7bc792fed2299375590b289d4e79f0d126e6e8b83a89
BLAKE2b-256 checksum
How to use checksums
a12a4e947ecf7b6951ccbb7fe0ff9a7abcd96d05c218063fd8f5675ea04969bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release files / outerproduct_sdk-0.1.12-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL outerproduct_sdk-0.1.12-cp312-abi3-manylinux_2_28_x86_64.whl
Size 4.3 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
040ff3051a3996cede0feb66deb1197325f775c2b2376c70536b9ea4be44c4ef
BLAKE2b-256 checksum
How to use checksums
421ca1da9c8f7ed3655122acc393d5bb08d1b3456e286094f76e216733967fd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release files / outerproduct_sdk-0.1.12-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL outerproduct_sdk-0.1.12-cp312-abi3-manylinux_2_28_aarch64.whl
Size 4.2 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
1399fca7eb291dddfee1846bf1284e68b7f088f3bb1e0a6ec36c3dded5673692
BLAKE2b-256 checksum
How to use checksums
d3e98f51bb5fd48c02224ce0a1711a800b730d3d53056f84e435950861bf88bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.17

7 release files

0.1.16

7 release files

This release

0.1.12 This release

6 release files

0.1.11

6 release files

0.1.10

6 release files

0.1.9

7 release files

0.1.7

5 release files

0.1.5

4 release files

0.1.4

4 release files

0.1.3

4 release files

0.1.0

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page