Best practice for having python and rust src? #1376
Unanswered
JackAshwell11
asked this question in
Q&A
Replies: 1 comment
-
Doc-strings are turned into documentation automatically by pyo3.
|
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
-
So I currently have a Python project which has a few slow components which I am converting to a Rust extensions. I want this Rust extension to be in the same directory as the Python source code and is just used to speed up the Python code. Here's the file structure:
How can I attach documentation and a stub file to the Rust extension so that it can be accessed by the Python code in
python_src
(probably through installing the extension in the virtual environment)?Beta Was this translation helpful? Give feedback.
All reactions