Expand description
Eryx Python WASM Runtime
Contains the WIT definition and builds the eryx sandbox WASM component.
The component uses our custom eryx-wasm-runtime (liberyx_runtime.so) for Python
execution via CPython FFI.
§Features
-
preinit- Pre-initialization support for capturing Python memory state. Provides ~25x speedup for sandbox creation. Works with or without native extensions - can pre-import stdlib modules only. -
native-extensions- Native Python extension support via late-linking. Allows adding extensions like numpy at sandbox creation time. Impliespreinit.
§Contents
runtime.wit- WIT interface definitionlinker- Late-linking support for native extensions (requirespreinit)preinit- Pre-initialization support (requirespreinitfeature)
§See Also
eryx-wasm-runtime- The custom runtime that implements the WIT exports
Modules§
- linker
preinit - Late-linking support for native Python extensions. Late-linking support for native Python extensions.
- preinit
preinit - Pre-initialization support for capturing Python memory state. Pre-initialization support for linked Python components.
Constants§
- WIT_
DEFINITION - The WIT definition as a string constant.