This project has been archived by its maintainers, and is no longer receiving any updates.
CrowNest Python SDK
Python client for CrowNest cloud sandboxes.
pip install crownest
export CROWNEST_API_KEY="cn_live_..."
from crownest import CrowNest
with CrowNest() as client:
sandbox = client.sandboxes.create(template="python", ttl_ms=60 * 60_000)
sandbox.files.write(
"/workspace/main.py",
"from pathlib import Path\nPath('/workspace/output.txt').write_text('hello')\n",
)
command = sandbox.commands.run(
"python3 /workspace/main.py",
collect=[{"path": "/workspace/output.txt", "name": "output.txt"}],
collect_on="success",
)
print(command["status"], command.get("exitCode"))
print(sandbox.files.read("/workspace/output.txt"))
Async usage is available through AsyncCrowNest:
from crownest import AsyncCrowNest
async with AsyncCrowNest() as client:
projects = await client.projects.list()
The SDK reads CROWNEST_API_KEY by default, accepts base_url for local
development, accepts timeout for SDK-owned HTTP clients, auto-generates
Idempotency-Key for idempotent operations, and raises CrowNestApiError with
status, code, and details for API errors.
CrowNest uses Sandboxes for isolated execution, Commands for process invocations, Workspace files for live working state, Artifacts for durable outputs, and Previews for authenticated HTTP services.
The hosted CrowNest service and runtime implementation are not part of this package.
Docs: https://crownest.dev/docs
License: Apache-2.0
Metadata
Release files for crownest 0.1.1
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 |
|---|---|---|---|---|
| crownest-0.1.1.tar.gz | 26.4 kB | With provenance | Details for crownest-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crownest-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for crownest-0.1.1-py3-none-any.whl |
Total release size: 44.6 kB
Release files / crownest-0.1.1.tar.gz
| Download URL | crownest-0.1.1.tar.gz |
|---|---|
| Size | 26.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ba15a39d86644e6e4c082c9eefbe6e493dcc184bafdcda506ff6802f4d38834
|
|
BLAKE2b-256 checksum How to use checksums |
6ade7bb2bee760e0b05440c5be81e22b2aba753eb1f936fb8d262339312e8f5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 16, 2026.
Transparency logRelease files / crownest-0.1.1-py3-none-any.whl
| Download URL | crownest-0.1.1-py3-none-any.whl |
|---|---|
| Size | 18.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c6f1186608df63c6644aff4999b726c582f9a1ddace439b9b8710c1f6959c99
|
|
BLAKE2b-256 checksum How to use checksums |
06b34090ceded7002bb91ef17d32b995a38f750a92b52e0a64fb06bb490473c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 16, 2026.
Transparency logSecurity for crownest 0.1.1
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 crownest-0.1.1.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 Jun 16, 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.