Skip to main content

an AMQP 0.9.1 client library for Python 2.7 & Python >= 3.2.0

Project description

Python 2 & 3 AMQP 0.9.1 client library

|Version| |PyPI|

:Keywords: amqp, rabbitmq, qpid


amqpy is a pure-Python AMQP 0.9.1 client library for Python 2 >= 2.7.0 and
Python 3 >= 3.2.0 (including PyPy and PyPy3) with a focus on:

- stability and reliability
- well-tested and thoroughly documented code
- clean, correct design
- 100% compliance with the AMQP 0.9.1 protocol specification

It has very good performance, as AMQP 0.9.1 is a very efficient binary protocol,
but does not sacrifice clean design and testability to save a few extra CPU

This library is actively maintained and has a zero bug policy. Please submit
issues and pull requests, and bugs will be fixed immediately.


This library makes the following guarantees:

- `Semantic versioning`_ is strictly followed
- Compatible with Python >= 2.7.0 and PyPy
- Compatible with Python >= 3.2.0 and PyPy3 >= 2.3.1 (Python 3.2.5)
- AMQP 0.9.1 compliant


- Draining events from multiple channels: ``Connection.drain_events()``
- SSL is fully supported, it is highly recommended to use SSL when connecting to
servers over the Internet.
- Support for timeouts
- Support for manual and automatic heartbeats
- Fully thread-safe. Use one global connection and open one channel per thread.

Supports RabbitMQ extensions:

- Publisher confirms: enable with ``Channel.confirm_select()``, then use
- Exchange to exchange bindings: ``Channel.exchange_bind()`` and
- Consumer Cancel Notifications: by default a cancel results in ``ChannelError``
being raised, but not if a ``on_cancel`` callback is passed to

.. _Semantic versioning:

.. |Version| image::

.. |PyPI| image::
:alt: Latest Version

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amqpy-0.13.1.tar.gz (50.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page