Skip to main content

AMQP 1.0 Client Library for Python

Project description

uAMQP for Python
================

An AMQP 1.0 client library for Python.


Installation
============

Wheels are provided for all major operating systems, so you can install directly with pip:

.. code:: shell

$ pip install uamqp


If you are running a Linux distro that does not support `ManyLinux1<https://www.python.org/dev/peps/pep-0513>`__, you can install from source:

.. code:: shell

$ apt-get update
$ apt-get install -y build-essential libssl-dev python3-dev uuid-dev cmake python3-pip
$ pip3 install uamqp --no-binary


Python 2.7 support
++++++++++++++++++
Coming soon...


Developer Setup
===============
In order to run the code directly, the Cython extension will need to be build first.

Pre-requisites
++++++++++++++

- Windows: None
- Linux: Install dependencies as descriped above in the installation instructions.
- MacOS: Install OpenSSL and UUID using Homebrew:

.. code:: shell

$ brew install openssl@1.1
$ brew install ossp-uuid

Building the extension
++++++++++++++++++++++

This project has two C library dependencies:

- `Azure uAMQP for C <https://github.com/Azure/azure-uamqp-c>`__
- `Azure Shared Utility <https://github.com/Azure/azure-c-shared-utility>`__

They are vendored in this repository in these versions:
- Azure uAMQP @1.2.0
- Azure C Shared Utility @2018-03-07-temp-pod

To build, start by creating a virtual environment and installing the required Python packages:

.. code:: shell

$ python -m venv env
$ env/Scripts/activate
(env)$ pip install -r requirements.txt

Next, run the build command:

.. code:: shell

$ python setup.py built_ext --inplace

Tests
+++++

The tests can be run from within the virtual environment. The extension must be built first using the instructions above.

.. code:: shell

(env)$ pytest


Provide Feedback
================

If you encounter any bugs or have suggestions, please file an issue in the
`Issues <https://github.com/Azure/azure-uamqp-python/issues>`__
section of the project.


Contributing
============

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.


.. :changelog:

Release History
===============

0.1.0a2 (2018-03-12)
++++++++++++++++++++

- Exposed OPEN performative properties for connection telemetry.
- Exposed setters for message.message_annotations and message.application_properties.
- Made adjustments to connection open and close to facilitate sharing a connection object between send/receive clients.
- Support for username/password embedded in connection URI.
- Clients can now optionally leave connection/session/link open for re-use.
- Updated build process and installation instructions.
- Various bug fixes to increase stability.


0.1.0a1 (2018-03-04)
++++++++++++++++++++

- Initial release

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

uamqp-0.1.0a2.tar.gz (2.6 MB view details)

Uploaded Source

Built Distributions

uamqp-0.1.0a2-cp36-cp36m-win_amd64.whl (699.6 kB view details)

Uploaded CPython 3.6m Windows x86-64

uamqp-0.1.0a2-cp36-cp36m-win32.whl (625.1 kB view details)

Uploaded CPython 3.6m Windows x86

uamqp-0.1.0a2-cp36-cp36m-manylinux1_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.6m

uamqp-0.1.0a2-cp36-cp36m-manylinux1_i686.whl (2.9 MB view details)

Uploaded CPython 3.6m

uamqp-0.1.0a2-cp36-cp36m-macosx_10_6_intel.whl (2.1 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

uamqp-0.1.0a2-cp35-cp35m-win_amd64.whl (692.6 kB view details)

Uploaded CPython 3.5m Windows x86-64

uamqp-0.1.0a2-cp35-cp35m-win32.whl (618.7 kB view details)

Uploaded CPython 3.5m Windows x86

uamqp-0.1.0a2-cp35-cp35m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.5m

uamqp-0.1.0a2-cp35-cp35m-manylinux1_i686.whl (2.5 MB view details)

Uploaded CPython 3.5m

uamqp-0.1.0a2-cp35-cp35m-macosx_10_6_intel.whl (2.0 MB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

uamqp-0.1.0a2-cp34-cp34m-win_amd64.whl (710.9 kB view details)

Uploaded CPython 3.4m Windows x86-64

uamqp-0.1.0a2-cp34-cp34m-win32.whl (631.2 kB view details)

Uploaded CPython 3.4m Windows x86

uamqp-0.1.0a2-cp34-cp34m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.4m

uamqp-0.1.0a2-cp34-cp34m-manylinux1_i686.whl (2.5 MB view details)

Uploaded CPython 3.4m

uamqp-0.1.0a2-cp34-cp34m-macosx_10_6_intel.whl (2.0 MB view details)

Uploaded CPython 3.4m macOS 10.6+ intel

File details

Details for the file uamqp-0.1.0a2.tar.gz.

File metadata

  • Download URL: uamqp-0.1.0a2.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for uamqp-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 fe0f31c57f54fa3c4a8d698f2a1e1c7af8bc2ac042ba7005d70afae928344c85
MD5 20441f636c37519618b46526872d9f4b
BLAKE2b-256 7aa2c0b9ccf03e71fa95f1e4ee0930ff1abe44e454e64c734e8a477ea7c32808

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 56b9c554c18b55eb4727804f286323b98757ed6a186fce75c070ca5c9a70dd94
MD5 23f2df60f8fb5290895f559c8446230e
BLAKE2b-256 11ef354ba6f529c925365886a4e56c59445951816995fbd7e147abd2a35c190d

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 3a01a71503b764ca4affc434597884c909afd55773606f3df7d0d05adb5d5d5b
MD5 751a617bdf9dd22544727b75c8334d15
BLAKE2b-256 05af02b67a68675e9e4350eedce781bee2172165225982d9feb535549c42f0b0

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 358beba827915cf04c5fd3db78315c343f6fd74b2be10b58acfea69f81da7458
MD5 067ebb35495c1a51aa5081174d2118e9
BLAKE2b-256 88b3437920c788b730160ae7f259add61a58fe6988232dc2bccba64b9d6c367d

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 92d270e1d757b854ec744b85f113d3c1bd355692af1719c41cc311cfdda8bca3
MD5 ef192e7eed623cc82f110c413108357c
BLAKE2b-256 668423d036c050eed99c424629059745a876a5de636d0dda7c7604b541587fc1

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 3be04837528628d75e33bae83d84499299eb97e51a4f73471e392138e2bf16b5
MD5 9a96e6d6d868b53470f8a27a9a293b88
BLAKE2b-256 a27321fc2dc6ea01af4c3c570b85ed4f10e783719709c550e19d921d48d63fad

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 907f24fd1f6236bc703d52a2e77b828878bbd0b19920c391efa13c2a5b8a2646
MD5 73bd10678fada05eebddee69b31e7919
BLAKE2b-256 81b0632cf3d056205507deb7bc20d7dc444b539945bea8f922423a6c4290adcf

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 9d47c7a839bbd623e2ba448e3bc5756476e1cda0599f43b5ecae16662844b243
MD5 4783911f323a2a9e61ed55a815df3efc
BLAKE2b-256 31ccbf73548e7b1da0ea77e05b268c6caaaa4be5649879b6e15fecd789a0ce2a

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 187979647bbcc09db1a0db336c28efe29032d0a39c4d9bea39c018f915b0c096
MD5 ef8cda433bdfcc6214213f5007919d94
BLAKE2b-256 41256fcc14f48ad149b2355d9cc29fafcd9b9171158af7fd23f39edc17152718

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 fb461c765ddb7fc9a87a4f12d3c2ef0424339ae50ccb675a2fb49e1fad07c588
MD5 95669a2fad99f60c1ce8b924b2932a33
BLAKE2b-256 44bc7bdc9d24155f068b164b4a664bece37d33f76868b8d70448d347b6bf6ffb

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 5facb299a4d3d5af82094511b9ce19e2dccd6cb897372ea58abb7a05fb2f7eff
MD5 30d3fab4b824b15a4b21ab9a8543c9c1
BLAKE2b-256 81c99cb9c923c80312211645161c87777b3b8a64acec68e08c8b0d483b1739ad

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 6d97ce50c46d17534c71f1250006f2d480e02d67684eed6ae29606ec2b00cb23
MD5 011ecf7a5b2627da986c5019e1240ce4
BLAKE2b-256 34d6dd839a86ec5cc55e1a0ee2ec8309defe5767206f68f458467ed9c8271108

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 f5b5bd386fc0043dadd33eee47b482167fe31b9bd8908d27b3ba81d2102096ea
MD5 2b1586cc86d9a4f0fc2d4864692e75e6
BLAKE2b-256 a2e146db2e0d9ef259296c2b5b70f36bfc9535ce1141ce3a54999342d18b9c7a

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7e93a3f291e9f592b95c2094e294d0193178b96d101564c1e3cab29bb20492e3
MD5 40fa37a6d5242b607ec1069f8d952d99
BLAKE2b-256 2910ee0c786506729341fd83bf430692460e1e35f29535c9b5993c9980824053

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 09ae65290aca25a31b4d4211c97528a1a64b1c2fdaebe4e4dd67a3920de38775
MD5 8e61ebe98e4a06465d0807ef2cc6cc9b
BLAKE2b-256 b3b63b9906e7f99fef08c0866b3dd7fa79178edc05e5f7b656d32e818cf94b73

See more details on using hashes here.

File details

Details for the file uamqp-0.1.0a2-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for uamqp-0.1.0a2-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 780a312c6411bed17a657ee7b7506fa26fa754889ee247b8b9bd89e0992e78a6
MD5 bdec27680ce96ca12a74d340ff4907fb
BLAKE2b-256 8d72d05afb0da4f5b82b0342425567f64529ec3e77724c013053515e4eedee4f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page