Skip to main content

firemq for Python

A Python client for FireMQ, built on the Rust client with UniFFI and maturin.

pip install firemq

Wheels include the native library for Linux (x86-64 and arm64, glibc 2.17 or later), macOS (Apple silicon and Intel, 11 or later) and Windows x64, for Python 3.9 and later. On other platforms, pip builds the package from source, which needs a Rust toolchain.

import firemq

with firemq.connect("fire://guest:guest@localhost:5673") as client:
    client.declare_queue("jobs")
    client.publish("", "jobs", "hello", headers={"attempt": 1}, content_type="text/plain")

    with client.subscribe("jobs", prefetch=10) as sub:
        for msg in sub:
            print(msg.text, msg.headers)
            msg.ack()

Calls block until the broker answers and release the GIL while they wait. Errors are subclasses of firemq.FireMQError: ServerError (with an AMQP code), UnroutableError, NackedError, ClosedError and OtherError.

Develop

uv venv && uv pip install maturin pytest
source .venv/bin/activate
maturin develop
FIREMQ_URL=fire://guest:guest@localhost:5673 pytest

The conformance driver, conformance_driver.py, runs the SDK conformance suite:

cargo run -p firemq-conformance -- run --driver "bindings/python/.venv/bin/python bindings/python/conformance_driver.py"

Metadata

Release files for firemq 0.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 firemq 0.1.0
File Size Uploaded Provenance Actions
firemq-0.1.0.tar.gz 218.8 kB With provenance Details for firemq-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for firemq 0.1.0
File Actions
firemq-0.1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for firemq-0.1.0-py3-none-win_amd64.whl
firemq-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for firemq-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
firemq-0.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for firemq-0.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
firemq-0.1.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for firemq-0.1.0-py3-none-macosx_11_0_x86_64.whl
firemq-0.1.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for firemq-0.1.0-py3-none-macosx_11_0_arm64.whl

Total release size: 9.4 MB

Release files / firemq-0.1.0.tar.gz

Download URL firemq-0.1.0.tar.gz
Size 218.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9cc235f11c0de1ae32fff3d9c415207d81213b9bb2ed46d69cc0ca31e53aa10e
BLAKE2b-256 checksum
How to use checksums
8b86eecab371632e6de8434916b514d9be3bf75525e20ae6c66428db047f3701
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / firemq-0.1.0-py3-none-win_amd64.whl

Download URL firemq-0.1.0-py3-none-win_amd64.whl
Size 1.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
07f36328beae74dd1f1f044e51aeeb2131ffde82a3d3619bbd42ade1d7df9214
BLAKE2b-256 checksum
How to use checksums
9382064910ef862416c8bc9695c49f3343b35d1e8698dce1651e9234ec3a9e99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / firemq-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL firemq-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 2.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
bf1be2ea3db7e2113c164512c2d3b1737eb7dd30cb47f27734d3b25be14a79d9
BLAKE2b-256 checksum
How to use checksums
b92599c082b0526bb9a7cc246e1ee94b602571c3f68a5196fa771e295f1fe633
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / firemq-0.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL firemq-0.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 2.0 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
cb8eb05bcdd775e191a67f4228f979bd15b58c8e214d0b4da0ea5e23f4affd91
BLAKE2b-256 checksum
How to use checksums
b5029604c2c7ba9180bad5f6dc50b3f733dcbf38ceb30fd275d1071d25b70369
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / firemq-0.1.0-py3-none-macosx_11_0_x86_64.whl

Download URL firemq-0.1.0-py3-none-macosx_11_0_x86_64.whl
Size 1.8 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
073cea89d367c4a8bfd666ad2febf0fb468ed8c619811471d017acf9f105719e
BLAKE2b-256 checksum
How to use checksums
01128f777a4cdf9a08990e9cd57321d4f21707aef9093b714535669b7cad40d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / firemq-0.1.0-py3-none-macosx_11_0_arm64.whl

Download URL firemq-0.1.0-py3-none-macosx_11_0_arm64.whl
Size 1.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cbbe294b2ea34febfaabb97a7a661e78278d1eec735b273b9735d252f7069aaf
BLAKE2b-256 checksum
How to use checksums
156d217cd05e8af19d897a1106215eb81cfd482f7da917bdc54a495613e83292
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Security for firemq 0.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 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for firemq-0.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 Nov 10, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

6 release files Full provenance

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