Skip to main content

boxwren-py

In-process Python bindings for the Boxwren WebAssembly sandbox. The sandbox is the Rust boxwren crate; this package wraps it with PyO3 and adds no capability kinds.

Install

pip install boxwren-py

From a checkout:

pip install maturin && maturin develop

Use

import boxwren_py

engine = boxwren_py.Engine()
kill = engine.kill_handle()
report = engine.execute(open("guest.wasm", "rb").read(), entry="_start", kill=kill)
print(report["status"])

dirs, net, and env use the same grant strings as the CLI. Limits are fuel, memory_bytes, and wall_ms. The report is the schema-1 JSON document the CLI prints, parsed to dicts.

License: MIT OR Apache-2.0.

Metadata

Release files for boxwren-py 0.2.2

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

Source distribution (sdist)

Source distribution for boxwren-py 0.2.2
File Size Uploaded Provenance Actions
boxwren_py-0.2.2.tar.gz 47.6 kB Without provenance Details for boxwren_py-0.2.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for boxwren-py 0.2.2
File Actions
boxwren_py-0.2.2-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for boxwren_py-0.2.2-cp313-cp313-win_amd64.whl
boxwren_py-0.2.2-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for boxwren_py-0.2.2-cp313-cp313-macosx_11_0_arm64.whl
boxwren_py-0.2.2-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details for boxwren_py-0.2.2-cp313-cp313-macosx_10_12_x86_64.whl
boxwren_py-0.2.2-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for boxwren_py-0.2.2-cp312-cp312-manylinux_2_28_x86_64.whl
boxwren_py-0.2.2-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details for boxwren_py-0.2.2-cp312-cp312-manylinux_2_28_aarch64.whl

Total release size: 38.6 MB

Release files / boxwren_py-0.2.2.tar.gz

Download URL boxwren_py-0.2.2.tar.gz
Size 47.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eef60056f9efa42bc3fcc686cedf24ccd8c097a06ee5ea004d736251cdef6ffc
BLAKE2b-256 checksum
How to use checksums
d3645c16cdaf93ea645603721b586f485986d64f171ab8a855f7857283943a98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / boxwren_py-0.2.2-cp313-cp313-win_amd64.whl

Download URL boxwren_py-0.2.2-cp313-cp313-win_amd64.whl
Size 7.2 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
7cb28e11be5545a834b86f63afea00682835df5d1084dd9c24967fd74cb3c139
BLAKE2b-256 checksum
How to use checksums
a5172d365affb6485f41aa9c97beccb530b86508bc128b5137d51c5ede1155ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / boxwren_py-0.2.2-cp313-cp313-macosx_11_0_arm64.whl

Download URL boxwren_py-0.2.2-cp313-cp313-macosx_11_0_arm64.whl
Size 7.1 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
31b43e142a65bbd2e6ea0e478b8c66436947235a1c197b82f124fa63cccc0467
BLAKE2b-256 checksum
How to use checksums
0d1b88571e7b4be2f5d05014a7da1331fdd4e64a90b67472dbfb95b25d93971d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / boxwren_py-0.2.2-cp313-cp313-macosx_10_12_x86_64.whl

Download URL boxwren_py-0.2.2-cp313-cp313-macosx_10_12_x86_64.whl
Size 7.7 MB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a3dfda77ca61e9d965ec7c36f8393609756718cad9f46f1fccf6a04013b97576
BLAKE2b-256 checksum
How to use checksums
2aec62edbe4876b631e856f665ef7f8520e02038f2cf21e0fb137b1a99c3ba10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / boxwren_py-0.2.2-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL boxwren_py-0.2.2-cp312-cp312-manylinux_2_28_x86_64.whl
Size 8.3 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
31f9fb5e1ee3794abecf8f94aed37858539940f8a5cb9f51064f52f2aec3be51
BLAKE2b-256 checksum
How to use checksums
301be41a8566fb28c827a380d63892d291b0a5fcff5795226df01f28fd1ae8ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / boxwren_py-0.2.2-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL boxwren_py-0.2.2-cp312-cp312-manylinux_2_28_aarch64.whl
Size 8.2 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
bc4b3c3d8a288ab090da02a5ef119c326274e76e3de5030fbde199d00aaab3a8
BLAKE2b-256 checksum
How to use checksums
bf301c31faca338114bb10aa43e39b8b9ad9103d79677977172ae8a5ee92c4d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for boxwren-py 0.2.2

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.2.2 This release

6 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