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:

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

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

This first Python SDK pass 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.10.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.10-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sello-0.1.10.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.10.tar.gz
Algorithm Hash digest
SHA256 d25333861bd4f53ed15a8ed62645b3eb3162bb282015c60a21b4ff696e56e836
MD5 fc6d33672559334e6e9d06ea9ea53ffd
BLAKE2b-256 cdd438a4276f64fe071f86ee88ff94282d9ad92df2a25b9946cf608e799561e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for sello-0.1.10.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.10-py3-none-any.whl.

File metadata

  • Download URL: sello-0.1.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 190b2acbe6f8d4d6cfa47b2b27fd0a38db55c26d6646ff426ee93b739155944c
MD5 0bd9ee72161f62a967136fd4566135e9
BLAKE2b-256 8586de86c52848581542d6ae11b07c9e739b80117a2e212da887dbd01be46765

See more details on using hashes here.

Provenance

The following attestation bundles were made for sello-0.1.10-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