numinous
Python SDK for Numinous Cloud — build & test environments with hard TTLs, typed failure causes, export-that-survives-teardown, and per-second metering. Everything non-preemptible.
Install
pip install numinous # SDK + CLI from PyPI
# or:
curl -fsSL https://cloud.numinous.technology/install.sh | sh
Use
from numinous import Numinous
nc = Numinous() # NUMINOUS_API_URL / NUMINOUS_API_KEY from env
tpl = nc.templates.pack("build-env", image="ubuntu:24.04",
warm_cmd="apt-get update && apt-get install -y build-essential")
sb = nc.sandboxes.create(template_id=tpl["id"], vcpu=4, mem_gib=8,
ttl_seconds=7200, launch_token="job-1-attempt-1",
labels={"trial_id": "tr_1"})
nc.sandboxes.exec(sb["id"], "make -j test")
nc.sandboxes.export(sb["id"], "/logs", to="s3://bucket/tr_1/") # works after death too
out = nc.sandboxes.destroy(sb["id"])
out["teardown_proof"] # {"verified_absent": true, ...}
nc.usage.query(label="trial_id:tr_1") # per-second spans, typed unbilled faults
Typed errors
from numinous import Numinous, NuminousError
try:
nc.sandboxes.create(...)
except NuminousError as e:
e.cause # "provider_capacity" | "user_image_build_failed" | ...
e.is_provider_fault # provider_* causes are never billed
e.retryable
API reference: the control plane serves its own OpenAPI spec at
GET /openapi.json.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
numinous-0.1.4.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file numinous-0.1.4.tar.gz.
File metadata
- Download URL: numinous-0.1.4.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d3e507fc06f2576a47dbc65f3781f0eeea5a4e2897ab9219fe9a4102b6f6721
|
|
| MD5 |
e57ffd7310afe2b092e1c04d479f8008
|
|
| BLAKE2b-256 |
e58781fcabd62f4e6ca7e18b4d702a93d183f46a63cd1953f7e6a11f05f502e2
|
File details
Details for the file numinous-0.1.4-py3-none-any.whl.
File metadata
- Download URL: numinous-0.1.4-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a83a183253a9519289fcb450d62e482a3ca79701d100f3fbf53707e67515d91
|
|
| MD5 |
34e230f9c726ece87e8a8ff34cf29d86
|
|
| BLAKE2b-256 |
450e72d77d2d35dbe11ed20df30e0c01a0bafdfab3050a0642c7cf278390ea58
|