Replies: 1 comment
-
|
The https://pyo3.rs/v0.26.0/module.html?highlight=pymodule_export#declarative-modules |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a PyO3 module that works fine, it is defined in the src/lib.rs file. I have another source file: src/other_module.rs, it has a python module defined there. How can I expose that through src/lib.rs and then import into python? I do have src/other_module defined as a Rust mod other_module at the top of lib.rs. other_module has its own pyfunction definitions and I want to be able to access those. Any help appreciated.
Beta Was this translation helpful? Give feedback.
All reactions