Secure sandbox for code execution with remote module loading
Project description
py-sandbox
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11f9602f988c67f790f80aaaab57018d3b723ebf8f4e112c30623938c1c5da64
|
|
| MD5 |
22500ebce2539ec957069865d0f4e302
|
|
| BLAKE2b-256 |
3a819c6c85df0c78014fad6b14deb0d1ff1da34c6d7b8087f27499f0f285064c
|
Provenance
The following attestation bundles were made for py_sandbox-0.2.6.tar.gz:
Publisher:
publish-pypi.yml on phanes19122025-cmyk/phi-linux
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_sandbox-0.2.6.tar.gz -
Subject digest:
11f9602f988c67f790f80aaaab57018d3b723ebf8f4e112c30623938c1c5da64 - Sigstore transparency entry: 782717699
- Sigstore integration time:
-
Permalink:
phanes19122025-cmyk/phi-linux@f7a2c46d6936ae1962b0e1c6b43c5bdd4cae5dfd -
Branch / Tag:
refs/tags/v0.2.6 - Owner: https://github.com/phanes19122025-cmyk
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f7a2c46d6936ae1962b0e1c6b43c5bdd4cae5dfd -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef199125ec1bc9fbd8db91adc0c269caf99a33824d9ee595059aa6edb0ae6d76
|
|
| MD5 |
24aac21404720f26e82c0f2377aff5b2
|
|
| BLAKE2b-256 |
05da2f2279958ef8f2251084bfc072ae2bdd13e00b45537632c45d0658e3e99b
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_sandbox-0.2.6-py3-none-any.whl -
Subject digest:
ef199125ec1bc9fbd8db91adc0c269caf99a33824d9ee595059aa6edb0ae6d76 - Sigstore transparency entry: 782717799
- Sigstore integration time:
-
Permalink:
phanes19122025-cmyk/phi-linux@f7a2c46d6936ae1962b0e1c6b43c5bdd4cae5dfd -
Branch / Tag:
refs/tags/v0.2.6 - Owner: https://github.com/phanes19122025-cmyk
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f7a2c46d6936ae1962b0e1c6b43c5bdd4cae5dfd -
Trigger Event:
push
-
Statement type: