Skip to main content

WebAssembly-powered, sandboxed implementation of Python runtime for safely exec()-cuting dynamic Python code.

Project description

wasm-runtime

WebAssembly-powered, sandboxed implementation of Python runtime for safely exec()-cuting dynamic Python code.

This is an active version of wasm_exec created by Justin Flick.

$ pip install wasm-runtime

from wasm_runtime import WasmRuntime

runtime = WasmRuntime()
result = runtime.exec("print('Hi, Mom!')")

print(result)
# Result(stdout='Hi, Mom!\n', stderr='', ...)

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

wasm-runtime-0.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Supported by

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