I’m developing an Rust application, with some feature to be implemeted in Python. I plan to expose some python function api to users, so that users can write their own Python code with these functions imported. Then they put their code in a directory , and my application can run the script.
I’m not quite clear how to implement this.
For the api, should I provide it in form of dll or .whl, or just python scource ?
If api function is called in user script, how to run the script, and api function in it ?
Thanks in advance