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.27.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.27.0
File Size Uploaded Provenance
numen_sandbox_py-0.27.0.tar.gz 83.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 174.7 kB

Release files / numen_sandbox_py-0.27.0.tar.gz

Download URL numen_sandbox_py-0.27.0.tar.gz
Size 83.5 kB
Tags Source
SHA-256 checksum
How to use checksums
edbe17e158eca2f86a22075333aa3f3cdccafabef877368109b3b4a0b1aaf1b8
BLAKE2b-256 checksum
How to use checksums
a270d1eaba18786b574d6208200be52c83cf4cb9796325fa84d3ac347c51c980
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.27.0-py3-none-any.whl

Download URL numen_sandbox_py-0.27.0-py3-none-any.whl
Size 91.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1da7a70c45ec7835c2c8ea184e734b2fb824c3ff4f3e304cafd604fc7d6849e
BLAKE2b-256 checksum
How to use checksums
683c1fcbef335ac5af260a4111c8db50314adf7cd82c53b4ce47fcda2e64d413
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}

Security for numen-sandbox-py 0.27.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