Skip to main content

cocoonstack-sandbox

Python SDK for the cocoon sandbox control plane: microVM sandboxes with warm-pool claims, checkpoint branching, transparent hibernate/wake, and a relay-only data plane that works on no-network guests.

from cocoonsandbox import Client

client = Client("10.0.0.5:7777", api_token="...")
with client.new("ghcr.io/cocoonstack/sandbox/rt:24.04") as sb:
    print(sb.exec("echo", "hello"))
    ckpt = sb.checkpoint("after-setup")
    branch = ckpt.new()  # a fresh sandbox at the captured moment

stdlib-only and synchronous — pip install cocoonstack-sandbox brings no dependencies. The surface mirrors the Go SDK (files and tar streams as whole bytes values): exec/run, file read/write, tar push/pull, find/replace, watch, persistent sessions, git verbs, pty, port dial/proxy/preview URLs, background processes (spawn/ps/kill/ logs/attach), renew, fork, hibernate, promote, checkpoints, and the LSP broker. Wire fidelity is pinned by the shared protocol fixture corpus: Go round-trips it in CI, Rust parses its requests and round-trips its responses, and Python round-trips its requests and decodes each response.

Full reference: https://cocoonstack.github.io/sandbox/sdk-python

Metadata

Release files for cocoonstack-sandbox 0.1.34

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

Source distribution (sdist)

Source distribution for cocoonstack-sandbox 0.1.34
File Size Uploaded Provenance Actions
cocoonstack_sandbox-0.1.34.tar.gz 44.7 kB With provenance Details for cocoonstack_sandbox-0.1.34.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cocoonstack-sandbox 0.1.34
File Interpreter ABI Platform Actions
cocoonstack_sandbox-0.1.34-py3-none-any.whl Python 3 none any Details for cocoonstack_sandbox-0.1.34-py3-none-any.whl

Total release size: 73.4 kB

Release files / cocoonstack_sandbox-0.1.34.tar.gz

Download URL cocoonstack_sandbox-0.1.34.tar.gz
Size 44.7 kB
Tags Source
SHA-256 checksum
How to use checksums
23b5368a9e3e04bce7e2f55dd3b985499053a8b1dc16c650078389953872984d
BLAKE2b-256 checksum
How to use checksums
54b3a960285f1c51f72ff2f94cc3d237008da552fa003b0b6e31d902a6c94b73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / cocoonstack_sandbox-0.1.34-py3-none-any.whl

Download URL cocoonstack_sandbox-0.1.34-py3-none-any.whl
Size 28.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
561e01a5df65666442a91bc00825fe2b7cc174191c14de717920b6d7143643ab
BLAKE2b-256 checksum
How to use checksums
9b94d2aee0bdf2bac5b8517639e6a8b55c94d663f7d4ce47327c8952a87339e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Security for cocoonstack-sandbox 0.1.34

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cocoonstack_sandbox-0.1.34.tar.gz

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 Nov 18, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.34 This release

2 release files Full provenance

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