Skip to main content

Python SDK for Sello service-signed AI agent receipts.

Project description

Sello Python SDK

Python support lives in sdks/python/ so the repository stays easy to scan:

  • sdks/typescript/ contains the TypeScript SDK and reference implementation.
  • sdks/python/src/sello/ contains the Python SDK.

The Python SDK mirrors the TypeScript service-side facade:

pip install sello
import sello

receipts = sello.service()

@receipts.tool("calendar.create_event")
def create_event(request):
    return calendar.events.create(request)

The service process emits receipts. It does not need the owner private key.

Local Development

For contributing to the SDK from the repository root:

python3 -m venv .venv
. .venv/bin/activate
python -m pip install ./sdks/python
python -m unittest discover -s sdks/python/tests

Current Scope

The Python SDK currently focuses on service-side receipt emission:

  • env-first sello.service() config,
  • @receipts.tool(...) decorator support,
  • compact JWS verification,
  • HPKE encryption,
  • COSE_Sign1 receipt signing,
  • memory and HTTP log adapters,
  • background submission with flush().

Owner-side viewing is still handled by the Sello CLI and lower-level protocol tooling.

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

sello-0.1.11.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sello-0.1.11-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file sello-0.1.11.tar.gz.

File metadata

  • Download URL: sello-0.1.11.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sello-0.1.11.tar.gz
Algorithm Hash digest
SHA256 daf6e906f54a5747bbc933df329b8d2a5752915182de38602cf2e0c255de0e70
MD5 c736089e4235cd4f9bb6c843ec48f371
BLAKE2b-256 2ab02eb82c6edf36cae58b93389bbf9f4362df21597c261ba494116a5637f910

See more details on using hashes here.

Provenance

The following attestation bundles were made for sello-0.1.11.tar.gz:

Publisher: release.yml on juanfiguera/sello

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sello-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: sello-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sello-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 03dfddb58e3aa8a68b90e2865f0a2dcf1e507b1a50575d260a2169078d3c2f17
MD5 2a0fa268b9e70182a2d0f75aa6a0baa1
BLAKE2b-256 de5d89834e4b3de25ee5b6f7f3de15f3d4f378d627b6356b1e2f167208777e1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sello-0.1.11-py3-none-any.whl:

Publisher: release.yml on juanfiguera/sello

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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