Skip to main content

py-sandboxed

A lightweight sandboxing utility for evaluating and executing Python expressions under a simple ruleset.

Usage

from py-sandboxed import sandbox_eval

# use built-in presets
result = sandbox_eval("math.sqrt(16)", config="math_only")
print(result)  # 4

Metadata

Release files for py-sandboxed 0.1.1

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

Source distribution (sdist)

Source distribution for py-sandboxed 0.1.1
File Size Uploaded Provenance Actions
py_sandboxed-0.1.1.tar.gz 3.8 kB Without provenance Details for py_sandboxed-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-sandboxed 0.1.1
File Interpreter ABI Platform Actions
py_sandboxed-0.1.1-py3-none-any.whl Python 3 none any Details for py_sandboxed-0.1.1-py3-none-any.whl

Total release size: 8.4 kB

Release files / py_sandboxed-0.1.1.tar.gz

Download URL py_sandboxed-0.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a12ad7742004d390ee3fdba37efbf0909dd2fac8de934008da253c694a765ec6
BLAKE2b-256 checksum
How to use checksums
d219cfda407e2399e722f998b4cfd1267cc4d94da33171b8e74259a0a543ce2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.8

Release files / py_sandboxed-0.1.1-py3-none-any.whl

Download URL py_sandboxed-0.1.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba03eccf3871c0706c16239a753e9a8d85bbe2fb3785a54fa741c11118acb49f
BLAKE2b-256 checksum
How to use checksums
ae3c590b842e006e9799976a91cee9e7743ca8d016ce06f9ef54401460224425
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.8

Security for py-sandboxed 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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