pub fn collect_imports_from_source( source: &str, module_name: &str, ) -> Result<Vec<ImportInfo>>
Extract all imports from a Python source file