Skip to main content

SST Python SDK

The Python SDK for SST lets you access linked resources in your Python Lambda functions.

Installation

pip install sst-sdk

Or with uv:

uv add sst-sdk

Migrating from the Git dependency

If you were previously installing the SDK from GitHub:

# Before
[project]
dependencies = ["sst"]

[tool.uv.sources]
sst = { git = "https://github.com/anomalyco/sst", subdirectory = "sdk/python" }

Update your pyproject.toml to use the PyPI package instead:

# After
[project]
dependencies = ["sst-sdk"]

That's it — remove the [tool.uv.sources] entry for sst and replace the dependency name. No code changes needed; from sst import Resource works the same way.

Usage

Use Resource to access any resource linked to your function in sst.config.ts:

from sst import Resource

# Access linked resources by name
bucket_name = Resource.MyBucket.name
table_name = Resource.MyTable.name

Resources are defined and linked in your sst.config.ts:

const bucket = new sst.aws.Bucket("MyBucket");

new sst.aws.Function("MyFunction", {
  handler: "handler.main",
  link: [bucket],
});

The SDK reads resource bindings from encrypted environment variables set by SST at deploy time. In sst dev, resources are available automatically through the local development bridge.

Supported Python Versions

  • Python 3.9+

Metadata

Release files for sst-sdk 4.17.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sst-sdk 4.17.2
File Size Uploaded
sst_sdk-4.17.2.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sst-sdk 4.17.2
File Interpreter ABI Platform
sst_sdk-4.17.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / sst_sdk-4.17.2.tar.gz

Download URL sst_sdk-4.17.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0d99410825a9ac5c8e44ad1785e5ac90873e8938dfc22e2d0e1d0fdec17890b9
BLAKE2b-256 checksum
How to use checksums
2739cb5bf1a9ef62fac635a5ed96dab7d07257d8687243feb2c2001115320f75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / sst_sdk-4.17.2-py3-none-any.whl

Download URL sst_sdk-4.17.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3e407c5ccb5dbb9a815598235c5527f1725dc79f6af30a5556211f7722580b1
BLAKE2b-256 checksum
How to use checksums
7322d9d930727cb66ae60ce20cff593d8dc380719840dac3de2adb48ba89cc4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

4.17.2 This release

2 release files

4.17.1

2 release files

4.17.0

2 release files

4.16.0

2 release files

4.15.2

2 release files

4.15.1

2 release files

4.15.0

2 release files

4.14.3

2 release files

4.14.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page