Skip to main content

carapace-sdk Python package

Python package for the Carapace Protocol v0.4.0 trust stack.

pip install carapace-sdk
from carapace import enforce, make_expires_at

card = {
    "id": "agent-1",
    "capabilities": [{"id": "carapace:read:calendar"}],
    "expires_at": make_expires_at(ttl_hours=24),
}

enforce(card, "carapace:read:calendar")

The package source lives in python/carapace; the project source of truth is https://github.com/relayforge-ai/carapace-protocol.

0.5.1 corrective release

Deploy ARIA 0.5.1 before upgrading receipt producers. New receipts bind the complete v2 envelope; legacy verification now returns false, and expiry enforcement rejects invalid and expired cards. See the migration guide for compatibility and rollback limits.

Metadata

Release files for carapace-sdk 0.5.1

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

Source distribution (sdist)

Source distribution for carapace-sdk 0.5.1
File Size Uploaded Provenance Actions
carapace_sdk-0.5.1.tar.gz 57.4 kB With provenance Details for carapace_sdk-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for carapace-sdk 0.5.1
File Interpreter ABI Platform Actions
carapace_sdk-0.5.1-py3-none-any.whl Python 3 none any Details for carapace_sdk-0.5.1-py3-none-any.whl

Total release size: 99.3 kB

Release files / carapace_sdk-0.5.1.tar.gz

Download URL carapace_sdk-0.5.1.tar.gz
Size 57.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7c0c55fc741548467e7b2342a45823bf70219e01c0b5bca96a7f07a569a81394
BLAKE2b-256 checksum
How to use checksums
9dc35002eb7971ea4a3830064ecc084a108cbdd4fa72584cc6ac6e5018fc2a07
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 Oct 21, 2026.

Transparency log

Release files / carapace_sdk-0.5.1-py3-none-any.whl

Download URL carapace_sdk-0.5.1-py3-none-any.whl
Size 41.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43feae15f2f913e3169f8d397bafce2e7512dc91c5252306e3fbb33beac993d2
BLAKE2b-256 checksum
How to use checksums
32fb54831e4f3aa98464658cf282f7843a73598ece12357a3ce9fdd7f2868db2
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 Oct 21, 2026.

Transparency log

Security for carapace-sdk 0.5.1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for carapace_sdk-0.5.1.tar.gz

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 21, 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.

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