Skip to main content

Public client SDK for the Sandbox Cloud Platform (HTTP client + Harbor / SWE-ReX adapters)

Project description

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).

Project details


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.0.0-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for sandbox_cloud_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d1a805a70ed6a89da15592b2ca89a881df1b730613cd5e0cd2699ce30f9ffd2
MD5 328ee05018514f8b6d2695871eafd44d
BLAKE2b-256 c0bfa0b33846ad0f337a02cea83dad35b43af55d4806cde372cdf25f9965c568

See more details on using hashes here.

Provenance

The following attestation bundles were made for sandbox_cloud_client-1.0.0-py3-none-any.whl:

Publisher: publish-pypi.yml on e3f-six/sandbox-cloud-platform

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page