Skip to content

Similar to pytauri #1

Description

@WSH032

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions