tauri-python-sidecar
A Tauri desktop app that runs Python as a supervised child process, with the reasons kept in the comments.
- Status
- v0.1.1
- License
- MIT
- Language
- Rust
What is tauri-python-sidecar?
Supervised Python sidecar in a Tauri v2 app on Windows: restart with backoff, authenticated local transport, SQLite migrations, WAL crash recovery, Nuitka packaging, signing and auto-update.
Writing
Run Python as a child process that the Tauri app watches and restarts. The parts, the order to build them in, and the pitfalls a template already handles.
CommandLane is not shipping. The hardest part of it now stands on its own: a Python sidecar supervised by a Tauri desktop app, published as a template.
Glossary
A capped restart schedule: five attempts at one, two, five, five and five seconds, then stop and say so.
Running Python as a separate child process that a desktop app watches and restarts, instead of embedding an interpreter in the binary.