Integrating python scripts in the application and returning complex data #6018
Unanswered
di-git-ali
asked this question in
Q&A
Replies: 1 comment 1 reply
-
If you don't want to use rust, not really no. Either stdio or an embedded localhost server on the python side :/ To bundle the scripts themselves you always need a tool like pyinstaller or pyoxidizer, unless it's fine to require a python installation on the user's system. Or if you're adventurous there's stuff like https://github.com/RustPython/RustPython, but including dependencies for image processing may be really hard, idk |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question 💭
Hello! We are building a small program that allows image processing and video manipulation, and we are trying to integrate some python scripts into the tauri application.
It seems that the only way to communicate with python is to use it as a sidecar and get the data via
stdout
by printing the retrieved output in the python functions, which is not very convenient for our use case.Is there a better way to do this? It seems that our approach is wrong, and we are not sure how to find a neater solution.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions