Disclaimer: I am the author of pytauri.
Hi @marcomq, I learned about this library from tauri-apps/tauri#4670.
At first glance, your library seems very similar to pytauri. pytauri has a similar plugin tauri-plugin-pytauri:
I have summarized some differences:
tauri-plugin-pytauri can dynamically provide Tauri APIs such as AppHandle to the Python side. Because of this, it must be bundled with pytauri-core.
- Additionally, it is not zero-dependency like your plugin, as it currently relies on some third-party python libraries.
I noticed that you used pyo3::prepare_freethreaded_python to embed the Python interpreter. However, embedding the Python interpreter is quite painful. Besides the dynamic library, you also need to bundle the Python standard library and third-party libraries.
pytauri has implemented the feature of bundling and packaging the Python interpreter through tauri-cli, which might be helpful for you.
Hi @marcomq, I learned about this library from tauri-apps/tauri#4670.
At first glance, your library seems very similar to pytauri. pytauri has a similar plugin
tauri-plugin-pytauri:I have summarized some differences:
tauri-plugin-pytaurican dynamically provide Tauri APIs such as AppHandle to the Python side. Because of this, it must be bundled with pytauri-core.I noticed that you used
pyo3::prepare_freethreaded_pythonto embed the Python interpreter. However, embedding the Python interpreter is quite painful. Besides the dynamic library, you also need to bundle the Python standard library and third-party libraries.pytauri has implemented the feature of bundling and packaging the Python interpreter through tauri-cli, which might be helpful for you.