Expand description
Python-Rust bridge for plugin execution
This bridge provides a minimal, focused interface for:
- Loading plugin package metadata via entry points
- Executing plugins with configuration
Plugin discovery uses AST-based analysis instead of runtime inspection, making it more efficient and reducing Python interpreter overhead.
§PYTHONHOME Configuration
PYTHONHOME is resolved from the venv’s pyvenv.cfg file to ensure
compatibility with PyO3 (which is linked at build time). This avoids
version mismatches between the discovered Python and the compiled binary.
Re-exports§
pub use errors::BridgeError;pub use plugin_invoker::PluginInvocationResult;pub use plugin_invoker::PluginInvocationTimings;
Modules§
- errors
- plugin_
invoker - Plugin invocation and execution
Structs§
- Bridge
- The Python bridge for plugin execution
- Python
Environment - Legacy compatibility struct for PythonEnvironment
Constants§
Functions§
- configure_
python_ venv - Configure the Python virtual environment (legacy API compatibility)
- resolve_
python_ path - resolve_
site_ package_ path