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.12.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.12-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sello-0.1.12.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.12.tar.gz
Algorithm Hash digest
SHA256 10fd9d646db2482b093a370ccd9698a01e1f582f798e16744ea7cf4245b2a6e3
MD5 c6ff02d5db4542cf2674630336caa73a
BLAKE2b-256 fbd55f76a4a02f93f3e71aac398c15fb186f8798125476eb5a30950deac43c47

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: sello-0.1.12-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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 d33bcef6a375fce5ec17fa89309285bb288d9da9f5be69713a06752b139055f0
MD5 2a9c5bb1d73580f2fa0fa6c8b4cdd521
BLAKE2b-256 471977ebfb349bbe95fe1a4d3e23601c39cd9dace4f0652edd08fc9a78a42cb2

See more details on using hashes here.

Provenance

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