Skip to main content

numen-sandbox-py

Python client for the Numen sandbox API.

This is a 0.x release. Breaking changes can still ship in any version until 1.0.

Install

pip install numen-sandbox-py

Credentials

By default the client reads ~/.config/numen/credentials.json:

{
  "client_id": "pcc_...",
  "client_secret": "..."
}

Pass credentials_file to use a different file. ~ is expanded.

Quickstart

image is required. numen/base is the general platform image. The with block deletes the sandbox when the block ends.

from numen_sandbox_py import Client, Sandbox

with Client() as c, Sandbox.create(c, image="numen/base") as sb:
    result = sb.run(["python", "-c", "print(2+2)"])
    print(result.stdout)

Guides and the method reference are in the portal: Getting started and SDK.

Metadata

Release files for numen-sandbox-py 0.31.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for numen-sandbox-py 0.31.0
File Size Uploaded Provenance Actions
numen_sandbox_py-0.31.0.tar.gz 94.3 kB Without provenance Details for numen_sandbox_py-0.31.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for numen-sandbox-py 0.31.0
File Interpreter ABI Platform Actions
numen_sandbox_py-0.31.0-py3-none-any.whl Python 3 none any Details for numen_sandbox_py-0.31.0-py3-none-any.whl

Total release size: 197.0 kB

Release files / numen_sandbox_py-0.31.0.tar.gz

Download URL numen_sandbox_py-0.31.0.tar.gz
Size 94.3 kB
Tags Source
SHA-256 checksum
How to use checksums
034480733802c7cb76477940ce3c71b67d6cc5633cc11ca61ccaad47016c0992
BLAKE2b-256 checksum
How to use checksums
aaf7a8e8d6f9032875a959a68623c03040a95071e3fbdad0926236d0770adf5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","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.31.0-py3-none-any.whl

Download URL numen_sandbox_py-0.31.0-py3-none-any.whl
Size 102.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
979fcd6c9efd999607c867033f215a740f290f0aa64d141993bde62aac9f7bf7
BLAKE2b-256 checksum
How to use checksums
8bbd500160247113e120c417279a9094c55983571a3a0484fc132e79e958f50b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","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}

Security for numen-sandbox-py 0.31.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page