You can compile python to WASM, yes. Once you have a *.wasm you can run it anywhere, although the interop with the environment depends on source/destination.
You probably want to run a sandbox for that generated code, eg mocked data, which is bound to your external python calls. WASI is the unified env for real-world APIs.
3 comments
[ 5.3 ms ] story [ 16.3 ms ] threadYou probably want to run a sandbox for that generated code, eg mocked data, which is bound to your external python calls. WASI is the unified env for real-world APIs.