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.
Metadata
Release files for numen-sandbox-py 0.16.2
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.2.tar.gz | 79.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| numen_sandbox_py-0.16.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 165.2 kB
Release files / numen_sandbox_py-0.16.2.tar.gz
| Download URL | numen_sandbox_py-0.16.2.tar.gz |
|---|---|
| Size | 79.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c16dae703a84da06ea81f2a21b138ab98f9a222ade20ae5323a2c1d50c96fba4
|
|
BLAKE2b-256 checksum How to use checksums |
8e7e10394276f39b748b899872af95ebadd99110a13008167c67a5b60500afed
|
| 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.2-py3-none-any.whl
| Download URL | numen_sandbox_py-0.16.2-py3-none-any.whl |
|---|---|
| Size | 85.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43772eb8c87699b31b23159564562fa5de1b9e0ffdfa0090314255a817da4622
|
|
BLAKE2b-256 checksum How to use checksums |
dfb43b56f2bee23e3543a1032fa74f7723ebc97d5505903688d282013057caa9
|
| 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}
|