Skip to main content

load_python_plugin

Function load_python_plugin 

Source
pub fn load_python_plugin(
    package_dir: &Path,
    descriptor: &'static PythonInterfaceDescriptor,
) -> Result<PythonPluginHandle, PythonLoadError>
Expand description

Load a Python plugin package against a static interface descriptor.

package_dir must point at an unpacked Python plugin directory (the thing unpack_package returns or that lives next to a package.toml during local dev).