Skip to content

v0.1.0

Choose a tag to compare

@jsturtevant jsturtevant released this 01 Apr 02:13
· 49 commits to main since this release
v0.1.0
2f8b3bd

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