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

Constants§

PYTHON_BIN_DIR
PYTHON_EXE
PYTHON_LIB_DIR
SITE_PACKAGES
The subdirectory name for site-packages within the lib directory

Functions§

configure_python_venv
Configure the Python virtual environment before PyO3 initialization