Skip to main content

Pigeon Python SDK

Official Python client for the Pigeon contract-native message broker.

PyPI and TestPyPI Trusted Publishing are wired into .github/workflows/release.yml. Until the first registry release is cut, install from the repository subdirectory for development.

pip install ./sdk/python

After the first PyPI release:

pip install pigeonmq
from pigeonmq import PigeonClient, PigeonClientError

client = PigeonClient(token="checkout-token")
client.connect(["payments.authorize"])

try:
    result = client.request(
        "payments.authorize",
        {
            "merchantId": "m",
            "orderId": "order_42",
            "amount": 42.0,
            "currency": "GBP",
            "paymentToken": "tok",
        },
        intent="authorize_payment",
        idempotency_key="order_42:authorize",
        classification="pci",
        region="uk",
    )
    print(result["status"])
except PigeonClientError as error:
    print(error.code, error.status)

The client exposes connect, publish, request, receive, subjects, audit, and quarantine. Errors surface as PigeonClientError with code, status, and details.

Metadata

Release files for pigeonmq 1.1.0

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

Source distribution (sdist)

Source distribution for pigeonmq 1.1.0
File Size Uploaded Provenance Actions
pigeonmq-1.1.0.tar.gz 3.7 kB With provenance Details for pigeonmq-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pigeonmq 1.1.0
File Interpreter ABI Platform Actions
pigeonmq-1.1.0-py3-none-any.whl Python 3 none any Details for pigeonmq-1.1.0-py3-none-any.whl

Total release size: 7.1 kB

Release files / pigeonmq-1.1.0.tar.gz

Download URL pigeonmq-1.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
15681e9e64423d315c23f8449cb7fc64e7800e076a22c5705b1383427ce312ea
BLAKE2b-256 checksum
How to use checksums
805e192b1ec7585e1a949c0398415aa508d7c249a2edec1657415a46d9cb05cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 14, 2026.

Transparency log

Release files / pigeonmq-1.1.0-py3-none-any.whl

Download URL pigeonmq-1.1.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e6b0da3e3433b4eb3b0baa548ec0f791eaf8b8069c2d8447175acc19e9dccb8
BLAKE2b-256 checksum
How to use checksums
91fa63fc573f3ba5b8e4196f83ab11bdbaf6b2176f78e873afc8cf919a1fa415
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 14, 2026.

Transparency log

Security for pigeonmq 1.1.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 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pigeonmq-1.1.0.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 Sep 14, 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