Skip to main content

groundbox

The Python client for the Groundbox API: sandboxes and CI runners for your agents.

pip install groundbox

Quickstart

from groundbox import Groundbox
gb = Groundbox()  # reads GROUNDBOX_API_KEY
sandbox = gb.create_sandbox(cpus=2)
print(gb.run_command(sandbox["id"], "uname -a")["stdout"])
gb.delete_sandbox(sandbox["id"])

A failed call raises GroundboxError with the API's code, status and request_id. Python 3.9 or newer, standard library only.

Templates and volumes

A template is a ready-made disk (an image, a Dockerfile or a list of packages) built once. Sandboxes of the template's exact size start from its warm snapshot in well under a second.

gb.create_template("python-ml", image="python:3.12-slim", pip=["numpy", "pandas"])
for line in gb.follow_template_logs("python-ml", 1):
    print(line["text"])
gb.create_volume(10, name="data")
sandbox = gb.create_sandbox(template="python-ml", volumes=[{"volume": "data", "path": "/data"}])

Docs: https://groundbox.dev/docs

Metadata

Release files for groundbox 0.2.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 groundbox 0.2.0
File Size Uploaded Provenance Actions
groundbox-0.2.0.tar.gz 11.1 kB Without provenance Details for groundbox-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for groundbox 0.2.0
File Interpreter ABI Platform Actions
groundbox-0.2.0-py3-none-any.whl Python 3 none any Details for groundbox-0.2.0-py3-none-any.whl

Total release size: 23.1 kB

Release files / groundbox-0.2.0.tar.gz

Download URL groundbox-0.2.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6da59c72a8c298a0844a07e0bad4af7718e6fc44875ac2ab65d53d1156767eb5
BLAKE2b-256 checksum
How to use checksums
9da0af549c9f32428de11943205dc8a2b3c8b233c5c516b048124dd8f7f1d11a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / groundbox-0.2.0-py3-none-any.whl

Download URL groundbox-0.2.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8855f212de25fbc6e4644fe29c901b84ecf81e614bb397cdfb8e6cd996da927
BLAKE2b-256 checksum
How to use checksums
c314c6911ab5c4a902bed2276cbd3e4dbe4f9c1dc4723209d06530c6884eab93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for groundbox 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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