Skip to main content

Experimental SDK for Spin and Componentize-Py

Project description

Experimental Spin SDK for componentize-py

This is an experimental SDK for creating Spin apps using componentize-py.

Building

Prerequisites

  • Python
  • pip
  • componentize-py 0.8.0

Once you have pip installed, you can install componentize-py using:

pip install componentize-py==0.8.0

Generating the bindings

The bindings are generated from spin_sdk/wit/spin.wit. The spin_sdk/wit/deps directory was copied from https://github.com/bytecodealliance/wasmtime/tree/v16.0.0/crates/wasi/wit/deps

componentize-py -d spin_sdk/wit -w spin-all bindings bindings
mv bindings/spin_all/* spin_sdk/wit/
rm -r bindings

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spin-sdk-0.0.1.tar.gz (58.3 kB view hashes)

Uploaded Source

Built Distribution

spin_sdk-0.0.1-py3-none-any.whl (80.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page