Crate r2x_python

Crate r2x_python 

Source
Expand description

Python-Rust bridge for plugin execution

This bridge provides a minimal, focused interface for:

  1. Loading plugin package metadata via entry points
  2. Executing plugins with configuration

Plugin discovery uses AST-based analysis instead of runtime inspection, making it more efficient and reducing Python interpreter overhead.

Re-exports§

pub use errors::BridgeError;

Modules§

errors
plugin_invoker
Plugin invocation and execution

Structs§

Bridge
PythonEnvironment

Constants§

PYTHON_LIB_DIR
The name of the library directory in a Python venv (e.g., “Lib” on Windows, “lib” on Unix)

Functions§

configure_python_venv
Configure the Python virtual environment before PyO3 initialization
resolve_python_path
resolve_site_package_path