extism / python-sdk

Extism Python Host SDK - easily run WebAssembly modules / plugins from Python applications
https://extism.org
BSD 3-Clause "New" or "Revised" License
19 stars 0 forks source link

Manifest loading wasm from local file system possible ? #22

Closed nyue closed 5 months ago

nyue commented 9 months ago

Hi,

So far all the example refers to url and http to load WASM file

While testing, how can I refer to a local wasm file without involving a http server ?

Cheers

nilslice commented 9 months ago

It is! Take a look at the Manifest schema here:

https://extism.org/docs/concepts/manifest

nilslice commented 9 months ago

I should also note that it's very common to load from disk in a production setting too.

If you want to load from an HTTP source, we provide free wasm hosting here, in case it's useful:

https://modsurfer.dylibso.com