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 (Rust + Go +
Python all round-trip it in CI).
Full reference: https://cocoonstack.github.io/sandbox/sdk-python
Metadata
Release files for cocoonstack-sandbox 0.1.26
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cocoonstack_sandbox-0.1.26.tar.gz | 43.7 kB | With provenance | Details for cocoonstack_sandbox-0.1.26.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cocoonstack_sandbox-0.1.26-py3-none-any.whl | Python 3 | none | any | Details for cocoonstack_sandbox-0.1.26-py3-none-any.whl |
Total release size: 72.3 kB
Release files / cocoonstack_sandbox-0.1.26.tar.gz
| Download URL | cocoonstack_sandbox-0.1.26.tar.gz |
|---|---|
| Size | 43.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e9698f92381d9ab29f57349ba3998687eb9e1b1302d3e99a4cc6321ff279e9b
|
|
BLAKE2b-256 checksum How to use checksums |
9d06eea1070b3fdb8899224ea11bbc689d34ae6b8a484858886a570b6bc55d74
|
| 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 8, 2026.
Transparency logRelease files / cocoonstack_sandbox-0.1.26-py3-none-any.whl
| Download URL | cocoonstack_sandbox-0.1.26-py3-none-any.whl |
|---|---|
| Size | 28.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e2738bc2b79de0908dc61b473e334b26a09cbc87df2795cc33a0f42940ae461
|
|
BLAKE2b-256 checksum How to use checksums |
60922bc552fe450a65bf3554864b76f014f0bfd23539deb00bb6c6ecabdfeb5c
|
| 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 8, 2026.
Transparency logSecurity for cocoonstack-sandbox 0.1.26
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.
Attestation for cocoonstack_sandbox-0.1.26.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 8, 2026.
Transparency logA 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.