Python SDK for BoxRun — lightweight VM execution platform
Project description
boxrun-sdk
Python SDK for BoxRun — ultra-lightweight sandbox platform for developers and AI agents.
Install
pip install boxrun-sdk
Quick Start
import asyncio
from boxrun_sdk import BoxRunClient
async def main():
async with BoxRunClient() as client:
box = await client.create("ubuntu:24.04", name="dev")
result = await box.exec(["echo", "hello"])
print(f"Exit code: {result.exit_code}")
async for event in box.exec_stream(["apt-get", "update"]):
if event.type == "log":
print(event.data, end="")
await box.remove()
asyncio.run(main())
Documentation
License
Apache-2.0
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 boxrun_sdk-0.3.0.tar.gz.
File metadata
- Download URL: boxrun_sdk-0.3.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f5165c04df31ea541da8ab504ebe7afcea9b167fd1eedb61ff145c0d863105b
|
|
| MD5 |
fa5de20c43a2a26de3eb8ad6fd5d9553
|
|
| BLAKE2b-256 |
5363f9c4bc0a26e0bd5c4dbfb8cd03f39f4c918ef83140e770ee230328399abb
|
Provenance
The following attestation bundles were made for boxrun_sdk-0.3.0.tar.gz:
Publisher:
release-python-sdk.yml on boxlite-ai/boxrun
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
boxrun_sdk-0.3.0.tar.gz -
Subject digest:
6f5165c04df31ea541da8ab504ebe7afcea9b167fd1eedb61ff145c0d863105b - Sigstore transparency entry: 939883453
- Sigstore integration time:
-
Permalink:
boxlite-ai/boxrun@803d9488526460367f1adff5ae33b24d7bb44ef8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/boxlite-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python-sdk.yml@803d9488526460367f1adff5ae33b24d7bb44ef8 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file boxrun_sdk-0.3.0-py3-none-any.whl.
File metadata
- Download URL: boxrun_sdk-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1c45aa183e9a2f3d17e0c593a8b61ba3f44e1ee51e008e6e26f5666d5324fc5
|
|
| MD5 |
2b7267ec19348f55104e0741d96ac55c
|
|
| BLAKE2b-256 |
430787fa76260fdedace201be3a4021fb321fd3c851795ede39658c866cacbc3
|
Provenance
The following attestation bundles were made for boxrun_sdk-0.3.0-py3-none-any.whl:
Publisher:
release-python-sdk.yml on boxlite-ai/boxrun
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
boxrun_sdk-0.3.0-py3-none-any.whl -
Subject digest:
d1c45aa183e9a2f3d17e0c593a8b61ba3f44e1ee51e008e6e26f5666d5324fc5 - Sigstore transparency entry: 939883474
- Sigstore integration time:
-
Permalink:
boxlite-ai/boxrun@803d9488526460367f1adff5ae33b24d7bb44ef8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/boxlite-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python-sdk.yml@803d9488526460367f1adff5ae33b24d7bb44ef8 -
Trigger Event:
workflow_dispatch
-
Statement type: