Skip to main content

sandbox-cloud-client

Public client SDK for the Sandbox Cloud Platform — the SandboxCloudClient HTTP client plus the Harbor / SWE-ReX adapter layers, installable from public PyPI by any client (internal or external).

This is the server-free subset of the platform: it contains no FastAPI/uvicorn/JWT or control-plane code, so it installs with only httpx + pydantic.

Install

pip install sandbox-cloud-client
# with the real SWE-ReX runtime contract:
pip install "sandbox-cloud-client[swerex]"

No --extra-index-url / private index is required.

Migrating from 0.x

1.0.0 moves every public import under sandbox_cloud.client_sdk.* (monorepo top-level restructure). The module names and APIs are unchanged — only the prefix moved; there is no compatibility shim for the old paths:

0.x import 1.x import
sandbox_cloud.clients sandbox_cloud.client_sdk.clients
sandbox_cloud.integrations.… sandbox_cloud.client_sdk.integrations.…
sandbox_cloud.adapters_client.… sandbox_cloud.client_sdk.adapters_client.…
sandbox_cloud.plugins.… sandbox_cloud.client_sdk.plugins.…

Harbor --environment-import-path values change the same way: sandbox_cloud.plugins.harbor.environment:…sandbox_cloud.client_sdk.plugins.harbor.environment:….

What's included

Import Purpose
sandbox_cloud.client_sdk.clients SandboxCloudClient (async HTTP client), models, smoke flow
sandbox_cloud.client_sdk.adapters_client.harbor / .swerex thin Harbor / SWE-ReX-shaped adapters over the client
sandbox_cloud.client_sdk.integrations.harbor / .swerex discovery + SWE-ReX deployment/runtime wrappers
sandbox_cloud.client_sdk.plugins.harbor / .swerex the sandbox-cloud-harbor / sandbox-cloud-swerex console scripts

To drive a Harbor terminal-bench run against the platform, install the companion package and use Harbor's import-path extension point:

pip install harbor==0.6.6 sandbox-cloud-harbor-environment
export SANDBOX_CLOUD_PLATFORM_BASE_URL=https://your-platform-host
export SANDBOX_CLOUD_PLATFORM_API_KEY=...   # OIDC-only platform → Bearer
harbor run -d terminal-bench@2.0 \
    --environment-import-path sandbox_cloud_harbor_environment:SandboxCloudHarborEnvironment

Compatibility

  • Python 3.11+
  • httpx >= 0.27, pydantic >= 2
  • swe-rex == 1.4.0 (via the swerex extra; without it, integrations.swerex falls back to local dataclasses)

License

MPL-2.0 — source-available; modifications are permitted, and modified covered files' source must be published on distribution (file-level copyleft).

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

sandbox_cloud_client-1.2.0-py3-none-any.whl (48.6 kB view details)

Uploaded Python 3

File details

Details for the file sandbox_cloud_client-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sandbox_cloud_client-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c542e2ecb3d0b9f9e6addd225b2f679b933950c94252a3c222d8f741d75716a8
MD5 b7e20588964798fa474d682625df70f5
BLAKE2b-256 719505658fe92954eece1bdefe2f351a6911728480c8771d2a2a652ef100aab8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.0 This release

1 file

1.0.0

1 file

0.1.0

1 file

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