Skip to content

Commit eddcfec

Browse files
authored
Update README.md
1 parent b2dfa46 commit eddcfec

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
This [tauri](https://v2.tauri.app/) plugin is supposed to make it easy to use Python as backend code.
44
It uses [PyO3](https://pyo3.rs) to call python from rust.
55
The plugin reads by default the file `src-tauri/src-python/main.py` during
6-
compile time and runs it during startup. It then can call functions that were embedded in this python code.
6+
startup and runs it immediately. Python functions are then registered during initialization
7+
and can get called during application workflow.
78

89
Python code can be registered and called from javascript without the
910
requirement to touch rust code at all.
1011
You can still use rust to register all python functions if you have any security concerns,
1112
for example when using inputs from other network interfaces.
13+
The first call of a function will prevent registering further python functions.
1214

1315

1416
You might use this plugin to create simple prototype applications

0 commit comments

Comments
 (0)