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.2

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.2
File Size Uploaded Provenance Actions
pigeonmq-1.1.2.tar.gz 3.7 kB With provenance Details for pigeonmq-1.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 7.1 kB

Release files / pigeonmq-1.1.2.tar.gz

Download URL pigeonmq-1.1.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
32413de6c862ddabcab1ee921cfed1b8b97d411e5911140c7130c5468eef3edb
BLAKE2b-256 checksum
How to use checksums
7770323894e29f047993d5abcd331bd8db4e9d87a888ba63a688115524ef3eb0
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 Oct 9, 2026.

Transparency log

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

Download URL pigeonmq-1.1.2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
001094e283fce23f398183bc7460e9350edc32bbed4cf81640300b8bd9f8d27d
BLAKE2b-256 checksum
How to use checksums
c7cb2fe449d8f632a101de4c284f5393ec8a3b5bb6a8ac2f69da029742146fd0
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 Oct 9, 2026.

Transparency log

Security for pigeonmq 1.1.2

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.2.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 9, 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