Skip to main content

Crate shape_ext_python

Crate shape_ext_python 

Source
Expand description

Shape Python language runtime extension.

Provides a shape.language_runtime capability that embeds CPython for executing foreign "python" { ... } blocks in Shape programs.

§ABI Exports

  • shape_plugin_info() – plugin metadata
  • shape_abi_version() – ABI version tag
  • shape_capability_manifest() – declares LanguageRuntime capability
  • shape_capability_vtable(contract, len) – generic vtable dispatch
  • shape_language_runtime_vtable() – direct vtable accessor

Modules§

arrow_bridge
DataTable <-> DataFrame Arrow IPC bridge.
error_mapping
Python traceback -> Shape source location mapping.
marshaling
WireValue <-> Python object conversion.
runtime
CPython interpreter management and foreign function execution.

Functions§

shape_abi_version
shape_capability_manifest
shape_capability_vtable
shape_language_runtime_vtable
shape_plugin_info