Skip to content

Releases: hyperlight-dev/hyperlight-sandbox

v0.3.0

07 Apr 03:53
v0.3.0
c75d481

Choose a tag to compare

Python SDK. Linux with KVM/MSHV. Windows with hyper-v

https://pypi.org/project/hyperlight-sandbox/

uv pip install "hyperlight-sandbox[wasm,python_guest]"

What's Changed

Full Changelog: v0.2.0...v0.3.0

V0.2.0

04 Apr 04:34
v0.2.0
4a7b42c

Choose a tag to compare

Python SDK. Linux with KVM/MSHV. Windows with hyper-v

https://pypi.org/project/hyperlight-sandbox/

uv pip install "hyperlight-sandbox[wasm,python_guest]"

What's Changed

Full Changelog: v0.1.0...v0.2.0

v0.1.0

01 Apr 02:13
v0.1.0
2f8b3bd

Choose a tag to compare

First release 🥳

Python SDK support. Linux with KVM/MSHV only.

https://pypi.org/project/hyperlight-sandbox/

uv pip install "hyperlight-sandbox[wasm,python_guest]"
from hyperlight_sandbox import Sandbox

sandbox = Sandbox(backend="wasm", module="python_guest.path")

async def host_echo(message="ok"):
    await asyncio.sleep(0)
    return f"host:{message}"

sandbox.register_tool("echo", host_echo)
code = 'print(call_tool("echo", message="python guest Hello world!"))'
result = sandbox.run(code)
print(f"{result.stdout.strip()}")

What's Changed

  • Bump wasmtime-wasi-http from 40.0.4 to 43.0.0 by @dependabot[bot] in #4
  • Fix network examples and speed up CI by @jsturtevant in #11
  • Bump @bytecodealliance/componentize-js from 0.16.0 to 0.19.3 in /src/wasm_sandbox/guests/javascript by @dependabot[bot] in #1
  • Improve the copilot demos with retries and better prompts by @jsturtevant in #15
  • Disable flaky Python SDK integration examples in CI by @jsturtevant in #16
  • Bump getrandom from 0.3.4 to 0.4.2 by @dependabot[bot] in #7
  • Bump @bytecodealliance/jco from 1.17.3 to 1.17.6 in /src/wasm_sandbox/guests/javascript by @dependabot[bot] in #2
  • Fix publishing steps by @jsturtevant in #17
  • Clean up plublishing and add a test by @jsturtevant in #18
  • Add a specific job just for publishing tests by @jsturtevant in #20

New Contributors

Full Changelog: https://github.com/hyperlight-dev/hyperlight-sandbox/commits/v0.1.0