You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The goal for this task is to allow Python workers to perform HTTP requests using the new bindings from #165. Note that wws was using the Python runtimes from Wasm Language Runtimes. Since we plan to start adding custom features for Wasm Workers Server, we need to create now a Python kit.
To create this kit, we will reuse the assets from Wasm Language Runtimes. In this specific case, we want to reuse the libpython Wasm library and load it in a kit based on Rust. Then, we will use a crate like pyo3 to interact with the library.
This article explains how to embed libpython in Rust. Other kits like JavaScript uses a similar approach, but changing libpython with QuickJS. The outcome will be very similar and we will publish it as a new version.
Describe the solution you'd like
I want a new Python kit that allows me to perform HTTP requests. All my existing workers should work without any modification. The kit should use WIT files to define the required bindings, so it's easy to extend it in the future.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The goal for this task is to allow Python workers to perform HTTP requests using the new bindings from #165. Note that
wws
was using the Python runtimes from Wasm Language Runtimes. Since we plan to start adding custom features for Wasm Workers Server, we need to create now a Python kit.To create this kit, we will reuse the assets from Wasm Language Runtimes. In this specific case, we want to reuse the
libpython
Wasm library and load it in a kit based on Rust. Then, we will use a crate like pyo3 to interact with the library.This article explains how to embed
libpython
in Rust. Other kits like JavaScript uses a similar approach, but changinglibpython
withQuickJS
. The outcome will be very similar and we will publish it as a new version.Describe the solution you'd like
I want a new Python kit that allows me to perform HTTP requests. All my existing workers should work without any modification. The kit should use WIT files to define the required bindings, so it's easy to extend it in the future.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: