Python API for running untrusted or isolated code in Hyperlight sandboxes with swappable backends (e.g., Wasm). Version 0.4.0, actively developed on GitHub.
pip install hyperlight-sandboxNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a sandbox with restricted host access, run a Python module string, and print output.
Use 'from hyperlight import Sandbox' instead.
Parse output carefully or use run_module_async() for streaming.
Monitor release notes; consider using memory_limit_mb if available.