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.2.tar.gz
(5.8 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.2.tar.gz.
File metadata
- Download URL: numinous-0.1.2.tar.gz
- Upload date:
- Size: 5.8 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 |
32b0edde01b70484b66caefcd6800b0f8079bb57b440126a2d069d81f7efe9b6
|
|
| MD5 |
38731501c7eeb12d9e2c4980ac157b00
|
|
| BLAKE2b-256 |
40bc3f0caeaa97d3e868a146e33b70b150e429f8912c7bf6c824b6dfd4b63ce4
|
File details
Details for the file numinous-0.1.2-py3-none-any.whl.
File metadata
- Download URL: numinous-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.3 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 |
a04eab34277a553f9a09815adc398e2bfccf38f7ea480d918a977489c6ba6987
|
|
| MD5 |
2743e84606b97d4a14b998b6b0f71813
|
|
| BLAKE2b-256 |
bea249fa7db4a57615fdc2df2de56de2f88e3f2ac08db76f456bed5eada955f4
|