Package spin_sdk

Spin Python SDK

This is an SDK for creating Spin apps using Python.

Note that this SDK supercedes an earlier, experimental version, the documentation for which may be found here.

Expand source code
"""Spin Python SDK

This is an SDK for creating [Spin](https://github.com/fermyon/spin) apps using Python.

Note that this SDK supercedes an earlier, experimental version, the documentation for which may be found [here](https://fermyon.github.io/spin-python-sdk/v1/index.html).
"""

Sub-modules

spin_sdk.http

Module with helpers for wasi http

spin_sdk.key_value

Module for accessing Spin key-value stores

spin_sdk.llm

Module for working with the Spin large language model API

spin_sdk.mysql

Module for interacting with a MySQL database

spin_sdk.postgres

Module for interacting with a Postgres database

spin_sdk.redis

Module for interacting with a Redis database

spin_sdk.sqlite

Module for interacting with an SQLite database

spin_sdk.variables

Module for interacting with Spin Variables

spin_sdk.wit

Module with the bindings generated from the wit by componentize-py