Skip to main content

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

Metadata

Release files for boxrun-sdk 0.3.0

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

Source distribution (sdist)

Source distribution for boxrun-sdk 0.3.0
File Size Uploaded
boxrun_sdk-0.3.0.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for boxrun-sdk 0.3.0
File Interpreter ABI Platform
boxrun_sdk-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / boxrun_sdk-0.3.0.tar.gz

Download URL boxrun_sdk-0.3.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6f5165c04df31ea541da8ab504ebe7afcea9b167fd1eedb61ff145c0d863105b
BLAKE2b-256 checksum
How to use checksums
5363f9c4bc0a26e0bd5c4dbfb8cd03f39f4c918ef83140e770ee230328399abb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 11, 2026.

Transparency log

Release files / boxrun_sdk-0.3.0-py3-none-any.whl

Download URL boxrun_sdk-0.3.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1c45aa183e9a2f3d17e0c593a8b61ba3f44e1ee51e008e6e26f5666d5324fc5
BLAKE2b-256 checksum
How to use checksums
430787fa76260fdedace201be3a4021fb321fd3c851795ede39658c866cacbc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 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