numen-sandbox-py
Python client for the Numen sandbox API. 0.x beta. The API can change between minor versions.
Install
pip install numen-sandbox-py
Credentials
The SDK reads ~/.config/numen/credentials.json.
Create and run
image is required. numen/base is the general platform image.
from numen_sandbox_py import Sandbox
with Sandbox.create(image="numen/base") as sb:
print(sb.run(["python", "-c", "print(2+2)"]).stdout)
The with block destroys the sandbox on exit.
If create is out of memory, the error is capacity exceeded: mem. Retry again in 5 minutes. Retry that error only. Other capacity exceeded reasons are unchanged.
Metadata
Release files for numen-sandbox-py 0.16.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| numen_sandbox_py-0.16.4.tar.gz | 80.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| numen_sandbox_py-0.16.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 166.7 kB
Release files / numen_sandbox_py-0.16.4.tar.gz
| Download URL | numen_sandbox_py-0.16.4.tar.gz |
|---|---|
| Size | 80.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97add69638401b73cb89fdb5960b169e2a2bb6a5d36484375c28a6143af0c13f
|
|
BLAKE2b-256 checksum How to use checksums |
1aff9c10fa3a10e1dff36b97058502d316f80647ab06782e3d76da55104ddb05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / numen_sandbox_py-0.16.4-py3-none-any.whl
| Download URL | numen_sandbox_py-0.16.4-py3-none-any.whl |
|---|---|
| Size | 86.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f88eeb073d7ffbaaa12b269e473053b9249428587dac91f680229ceb5f78e800
|
|
BLAKE2b-256 checksum How to use checksums |
301bfe22ff4059b89c500d8564d351be347c814491df30f691579814a866ceb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|