r2x-python 0.0.16

Python bridge for the r2x CLI
Documentation
//! 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.
//!
//! ## 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.

pub mod errors;
pub mod plugin_invoker;
mod plugin_kwargs;
mod plugin_regular;
mod plugin_upgrader;
pub mod python_bridge;
pub mod utils;

#[cfg(test)]
mod tests {
    #[test]
    fn test_bridge_module_exports() {
        // Verify that key types are exported
        // Bridge and configure_python_venv should be publicly accessible
    }
}