Skip to main content

tuff-sdk

The Tuff SDK for Python. Install, update, and remove agent capability packs (skills, MCP servers, and hooks for Claude Code, Codex, Cursor, OpenCode, Pi, and Open Agents) from a Python application, with a plan you can show before anything is written.

pip install tuff-sdk
import tuff_sdk as tuff

workspace = tuff.Workspace.open("my-project")
pack = tuff.Pack.checkout("https://github.com/example/review-pack", targets=["claude"])

plan = workspace.plan_install(pack, ["claude"])
for file in plan.files:
    print(file.change, file.path)

workspace.apply(plan)

The module runs the same Rust code as the tuff command, in process. It never prints: notes and warnings are lists on the results. Errors are tuff_sdk.TuffError subclasses with kind and hint.

The API is 0.x and can change in a minor release. Guide: Tuff from Python. The command-line tool is the separate tuffcli package.

Metadata

Release files for tuff-sdk 0.21.0

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

Built distributions (wheels)

Table of built distributions (wheels) for tuff-sdk 0.21.0
File Actions
tuff_sdk-0.21.0-cp39-abi3-manylinux_2_39_x86_64.whl CPython 3.9 abi3 Linux glibc 2.39+ x86-64 Details for tuff_sdk-0.21.0-cp39-abi3-manylinux_2_39_x86_64.whl
tuff_sdk-0.21.0-cp39-abi3-manylinux_2_39_aarch64.whl CPython 3.9 abi3 Linux glibc 2.39+ ARM64 Details for tuff_sdk-0.21.0-cp39-abi3-manylinux_2_39_aarch64.whl
tuff_sdk-0.21.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for tuff_sdk-0.21.0-cp39-abi3-macosx_11_0_arm64.whl
tuff_sdk-0.21.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for tuff_sdk-0.21.0-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 8.2 MB

Release files / tuff_sdk-0.21.0-cp39-abi3-manylinux_2_39_x86_64.whl

Download URL tuff_sdk-0.21.0-cp39-abi3-manylinux_2_39_x86_64.whl
Size 2.2 MB
Tags CPython 3.9 Linux glibc 2.39+ x86-64 abi3
SHA-256 checksum
How to use checksums
e1bb1a350a11ac8c2b9f2e411cd54ca1e4dd6f7a1efee755c0452f34f73d8fe2
BLAKE2b-256 checksum
How to use checksums
2983fb17e7e22f858e7cc85ac0cdda0cb0468ea49037bd3d3dee3da772fe5e77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 28, 2026.

Transparency log

Release files / tuff_sdk-0.21.0-cp39-abi3-manylinux_2_39_aarch64.whl

Download URL tuff_sdk-0.21.0-cp39-abi3-manylinux_2_39_aarch64.whl
Size 2.1 MB
Tags CPython 3.9 Linux glibc 2.39+ ARM64 abi3
SHA-256 checksum
How to use checksums
0d193b9dc51c96fec9c8b26414e0090f2c99c39bd749997f2d8fe60fd9c63068
BLAKE2b-256 checksum
How to use checksums
d33a78299e3505fefb89ad4215d35d0d0d84cb012f2deaa3539e18583f373f14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 28, 2026.

Transparency log

Release files / tuff_sdk-0.21.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL tuff_sdk-0.21.0-cp39-abi3-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
df47c2b695477978341ceb2726c35fedc62c8361bd3e7bcc951ea61e43f4ecd4
BLAKE2b-256 checksum
How to use checksums
a2ff7eb7ecfbd7aa8e7ca0d4e4b8c29b43ac85cf0aac66e1a9a5f324e995782f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 28, 2026.

Transparency log

Release files / tuff_sdk-0.21.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL tuff_sdk-0.21.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 2.0 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
71f7fb221e806e9cc9ca41248f23ed01bfe263e9d30f4c51743282b7e5abb237
BLAKE2b-256 checksum
How to use checksums
2344cdafe7cbcdad146aadb47462b3d652bbf8a421be28ab03af0109aae038fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 28, 2026.

Transparency log

Security for tuff-sdk 0.21.0

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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for tuff_sdk-0.21.0-cp39-abi3-manylinux_2_39_x86_64.whl

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 Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.21.0 This release

4 release files Full provenance

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