Python SDK for run.cloud, including sandbox-provider compatibility adapters
Project description
runcloud
Python SDK for run.cloud.
pip install runcloud-sdk
export RUN_CLOUD_API_KEY="rc_live_..."
from runcloud import Client
cloud = Client()
box = cloud.create(image="runcloud/agent-base", cpu=2, memory=4096)
try:
result = box.exec("python -V")
print(result.stdout)
finally:
box.destroy()
Compatibility adapters
The same distribution includes migration adapters:
| Provider | Import |
|---|---|
| Modal | from runcloud.compat import modal |
| E2B | from runcloud.compat.e2b import Sandbox |
| Daytona | from runcloud.compat.daytona import Daytona |
| Vercel Sandbox | from runcloud.compat.vercel import Sandbox |
| Blaxel async | from runcloud.compat.blaxel import SandboxInstance |
| Blaxel sync | from runcloud.compat.blaxel import SyncSandboxInstance |
| Fly Sprites | from runcloud.compat.sprites import SpritesClient |
Adapters cover creation, command execution, lookup/listing, and destruction
where the upstream SDK exposes them. Blaxel's current SandboxInstance API is
async; SyncSandboxInstance preserves its synchronous API. Unsupported
provider-specific features raise UnsupportedCompatibilityFeatureError with a
migration hint. They do not silently pretend that run.cloud implements a
provider-specific feature.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file runcloud_sdk-0.7.0.tar.gz.
File metadata
- Download URL: runcloud_sdk-0.7.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4f42d6cee2a1d9341a4f9eb367dca4ffec2e3a689923b6d45b6d116a6ff36c9
|
|
| MD5 |
f43b2670298b0bd7d5687cbcf5103798
|
|
| BLAKE2b-256 |
c0327b7c3cc92366c7c99163ff3d413823cc70872db8df74f781deb8084d0c53
|
Provenance
The following attestation bundles were made for runcloud_sdk-0.7.0.tar.gz:
Publisher:
publish-run-cloud-python-sdk.yml on newly-app/newly
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runcloud_sdk-0.7.0.tar.gz -
Subject digest:
c4f42d6cee2a1d9341a4f9eb367dca4ffec2e3a689923b6d45b6d116a6ff36c9 - Sigstore transparency entry: 2256620348
- Sigstore integration time:
-
Permalink:
newly-app/newly@d74483b9757d9a469eef17a923ac4aee7a1838da -
Branch / Tag:
refs/heads/main - Owner: https://github.com/newly-app
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-run-cloud-python-sdk.yml@d74483b9757d9a469eef17a923ac4aee7a1838da -
Trigger Event:
push
-
Statement type:
File details
Details for the file runcloud_sdk-0.7.0-py3-none-any.whl.
File metadata
- Download URL: runcloud_sdk-0.7.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a32560fd0addd2a0216b8dbb72bd116019120e531b104d11cbffa95a43956a8e
|
|
| MD5 |
7bcc698e834abf13829e17b3a58f2c3b
|
|
| BLAKE2b-256 |
40824e57cf65cdc9c404ca82f1422217180af6a85433d538514ee8ac37adb304
|
Provenance
The following attestation bundles were made for runcloud_sdk-0.7.0-py3-none-any.whl:
Publisher:
publish-run-cloud-python-sdk.yml on newly-app/newly
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runcloud_sdk-0.7.0-py3-none-any.whl -
Subject digest:
a32560fd0addd2a0216b8dbb72bd116019120e531b104d11cbffa95a43956a8e - Sigstore transparency entry: 2256620353
- Sigstore integration time:
-
Permalink:
newly-app/newly@d74483b9757d9a469eef17a923ac4aee7a1838da -
Branch / Tag:
refs/heads/main - Owner: https://github.com/newly-app
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-run-cloud-python-sdk.yml@d74483b9757d9a469eef17a923ac4aee7a1838da -
Trigger Event:
push
-
Statement type: