Metadata-Version: 2.4
Name: runbox-sdk
Version: 0.2.2
Summary: Python client for Runbox, a lightweight sandbox for agent commands and files
Author: Runbox contributors
License: MIT
Project-URL: Homepage, https://runbox.xyun.dev
Project-URL: Repository, https://github.com/xy200303/runbox
Project-URL: Documentation, https://github.com/xy200303/runbox/blob/main/docs/api.md
Keywords: runbox,sandbox,agent,code-execution
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Runbox Python SDK

```bash
pip install runbox-sdk
```

```python
from runbox import Client, Identity

client = Client(
    "http://localhost:8099",
    api_key="...",
    identity=Identity(namespace="team-a", principal="user-42"),
)
result = client.exec('python3 -c "print(6 * 7)"')
print(result["stdout"])
```

The client uses only the Python standard library. Uploads stream from disk;
downloads and tar archives stream to a destination path.

Full API reference: [docs/api.md](../../docs/api.md).
