Skip to main content

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


Download files

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

Source Distribution

boxrun_sdk-0.3.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

boxrun_sdk-0.3.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

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

Hashes for boxrun_sdk-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6f5165c04df31ea541da8ab504ebe7afcea9b167fd1eedb61ff145c0d863105b
MD5 fa5de20c43a2a26de3eb8ad6fd5d9553
BLAKE2b-256 5363f9c4bc0a26e0bd5c4dbfb8cd03f39f4c918ef83140e770ee230328399abb

See more details on using hashes here.

Provenance

The following attestation bundles were made for boxrun_sdk-0.3.0.tar.gz:

Publisher: release-python-sdk.yml on boxlite-ai/boxrun

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

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

Hashes for boxrun_sdk-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1c45aa183e9a2f3d17e0c593a8b61ba3f44e1ee51e008e6e26f5666d5324fc5
MD5 2b7267ec19348f55104e0741d96ac55c
BLAKE2b-256 430787fa76260fdedace201be3a4021fb321fd3c851795ede39658c866cacbc3

See more details on using hashes here.

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

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