Skip to main content

Secure sandbox for code execution with remote module loading

Project description

py-sandbox

PyPI version

Secure sandbox for symbolic computation and numerical experiments.

Installation

pip install py-sandbox

Features

  • Symbolic computation sandbox — Safe evaluation of mathematical expressions
  • Numerical experiment isolation — Controlled environment for computational mathematics
  • Remote module loading — Dynamic capability extension
  • Secure execution — Sandboxed Python evaluation

Quick Start

from py_sandbox import sandbox, remote

# Initialize sandbox
sb = sandbox.Sandbox()

# Load remote mathematical modules
remote.load_module("advanced_math")

# Execute computations safely
result = sb.execute("integrate(x**2, x)")

Use Cases

  • Mathematical modeling experiments
  • Symbolic algebra computations
  • Numerical analysis in isolated environments
  • Educational math sandboxes

Requirements

  • Python ≥3.8

License

MIT


Part of the Φ mathematical infrastructure

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_sandbox-0.2.6.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_sandbox-0.2.6-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file py_sandbox-0.2.6.tar.gz.

File metadata

  • Download URL: py_sandbox-0.2.6.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for py_sandbox-0.2.6.tar.gz
Algorithm Hash digest
SHA256 11f9602f988c67f790f80aaaab57018d3b723ebf8f4e112c30623938c1c5da64
MD5 22500ebce2539ec957069865d0f4e302
BLAKE2b-256 3a819c6c85df0c78014fad6b14deb0d1ff1da34c6d7b8087f27499f0f285064c

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_sandbox-0.2.6.tar.gz:

Publisher: publish-pypi.yml on phanes19122025-cmyk/phi-linux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_sandbox-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: py_sandbox-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for py_sandbox-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ef199125ec1bc9fbd8db91adc0c269caf99a33824d9ee595059aa6edb0ae6d76
MD5 24aac21404720f26e82c0f2377aff5b2
BLAKE2b-256 05da2f2279958ef8f2251084bfc072ae2bdd13e00b45537632c45d0658e3e99b

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_sandbox-0.2.6-py3-none-any.whl:

Publisher: publish-pypi.yml on phanes19122025-cmyk/phi-linux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page