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:
$ pip install uamqp
If you are running a Linux distro that does not support ManyLinux1, you can install from source:
$ 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:
$ brew install openssl@1.1
$ brew install ossp-uuid
Building the extension
This project has two C library dependencies. They are vendored in this repository in these versions:
To build, start by creating a virtual environment and installing the required Python packages:
$ python -m venv env
$ env/Scripts/activate
(env)$ pip install -r dev_requirements.txt
Next, run the build command:
$ 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.
(env)$ pytest
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the 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. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Release History
0.1.0a3 (2018-03-19)
Added support for asynchronous message receive by iterator or batch.
Removed synchronous receive iterator, and replaced with synchronous batch receive.
Added sync and async context managers for Send and Receive Clients.
Fixed token instability and added put token retry policy.
Exposed Link ATTACH properties.
A connection now has a single $cbs session that can be reused between clients.
Added C debug trace logging to the Python logger (‘uamqp.c_uamqp’)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file uamqp-0.1.0a3.tar.gz
.
File metadata
- Download URL: uamqp-0.1.0a3.tar.gz
- Upload date:
- Size: 2.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8a735f4d478a955292dd2f8795f84daf37500fcc17833a5e46b4b3bac596d78 |
|
MD5 | 141257df5107bcb3c34de48a1acee026 |
|
BLAKE2b-256 | a6184c17b7f694ab3d835f5db9282eb3b31d9b180c80448ce716705259b5a1d9 |
File details
Details for the file uamqp-0.1.0a3-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 710.9 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e1a6e66ce1dfb7b07c835075a91960442b202f0864cf226bbc495fbeca775b |
|
MD5 | 716b841add08f37a500536dc54e70f7c |
|
BLAKE2b-256 | 331d6b8f46c60fe0664da41a6a2fecf0537c36a9a719fca26f0ba95f3ab05926 |
File details
Details for the file uamqp-0.1.0a3-cp36-cp36m-win32.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp36-cp36m-win32.whl
- Upload date:
- Size: 633.7 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f50c0f33480a889e0d59df149f9cd8323c871483fbaeb0171bd5fa50c91c96e |
|
MD5 | 607b4cd84305ccea124380802234c8ae |
|
BLAKE2b-256 | 317504e168881294218baca13a128ac3a34e1ee50fd2eb3779bcc264c4d3fe77 |
File details
Details for the file uamqp-0.1.0a3-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bab4adef156aaf6cd0e620758b0731065591684867bfafc11f233ed6dc5a764a |
|
MD5 | 77bfc290aa4a40f5a528147830e61add |
|
BLAKE2b-256 | f62aef9197b1913af98ebb477c0001096339c7d3b981998c82f1892699e2fa41 |
File details
Details for the file uamqp-0.1.0a3-cp36-cp36m-manylinux1_i686.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp36-cp36m-manylinux1_i686.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3324d807f907b849503723069754892eaab88a671895d01ba5bbb240764d129b |
|
MD5 | 2c501bed8cd70862645c32ea0bfbe68f |
|
BLAKE2b-256 | cdd3dd7480a4415a7a4a69a24fe15205a00cae0b588814996e9ee8ec4b71e67d |
File details
Details for the file uamqp-0.1.0a3-cp36-cp36m-macosx_10_6_intel.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp36-cp36m-macosx_10_6_intel.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.6m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ae2ddfe0acf2c95d89ce951937f54956666469ad7f4312eacd9ef7e92013b1 |
|
MD5 | 75e82a1672866fe31f61fab6f0337018 |
|
BLAKE2b-256 | 84c4735eddf8251bda40c3532cfd1f00c685fb43f5e352407a6e5d3626c15797 |
File details
Details for the file uamqp-0.1.0a3-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 703.8 kB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8979214f87c2a6b8084cb44dfe2966c8f7fff39d0a00141308481040f8a99c0c |
|
MD5 | 8e709798516b35669adfe6a83d203072 |
|
BLAKE2b-256 | 9e462f7a5a52f705a71dbabb7da121b1362e2933872a37c4841b94d59837676b |
File details
Details for the file uamqp-0.1.0a3-cp35-cp35m-win32.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp35-cp35m-win32.whl
- Upload date:
- Size: 628.5 kB
- Tags: CPython 3.5m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4941075328f289c6af657a0aa7380883790bb3dc3dc19bc49ecce925747377b9 |
|
MD5 | 82066d02c7e261341d3496e9abfd5285 |
|
BLAKE2b-256 | c762d84724f70a3fd664d1c6e26ff2b71e1223a1bf80f154d81e91afd3bdfc00 |
File details
Details for the file uamqp-0.1.0a3-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12f3d66b204c3e12d733488edef1dfc8dbfcd59c4f0e0d3697edba284ccbe3b6 |
|
MD5 | 8cccbac8564aac1f5ae49f27353c690e |
|
BLAKE2b-256 | 55ac14f6c745649131eead9538d6d2c00a5b5920026585161f06b79b1662e4eb |
File details
Details for the file uamqp-0.1.0a3-cp35-cp35m-manylinux1_i686.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp35-cp35m-manylinux1_i686.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03ef3a534340660cbf049188a8dfa8b6069832c09401fede39d9935aed05baa4 |
|
MD5 | 413981e23f180dded1dad281cce75fa5 |
|
BLAKE2b-256 | afee813f6d759aa8d2420d92bb42298b5148440390321b2cf4e8d7dc09065e73 |
File details
Details for the file uamqp-0.1.0a3-cp35-cp35m-macosx_10_6_intel.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp35-cp35m-macosx_10_6_intel.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.5m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b4a240801434fec6b55a60425dfd0bd6761bb5bb8a11a1b5b91993e84b1cba2 |
|
MD5 | 9ccd9da0d4a7caa1030cd85097b94b94 |
|
BLAKE2b-256 | d42cdbc5466e6a3c2e06d8ac89827977edf2f31de77ae8d81811b1f2764a4fd8 |
File details
Details for the file uamqp-0.1.0a3-cp34-cp34m-win_amd64.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp34-cp34m-win_amd64.whl
- Upload date:
- Size: 720.7 kB
- Tags: CPython 3.4m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb69b6e876ebbb76fda986516561c6c48c44b9ed84adda1630de92d847fae45c |
|
MD5 | 1468922ba394f54732aa7c52aeae1662 |
|
BLAKE2b-256 | 573da9404f1342cd893117f73abd208e4591870d7d9be167213e67a08b1319f1 |
File details
Details for the file uamqp-0.1.0a3-cp34-cp34m-win32.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp34-cp34m-win32.whl
- Upload date:
- Size: 640.1 kB
- Tags: CPython 3.4m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5535158e71c983c8373e2ad49fa6c2a57486e2f213f9970c6ba09b528024996b |
|
MD5 | 6e37eb4aefc771f9269b6d6087d770fa |
|
BLAKE2b-256 | 27988b253802c00d5e58ede437e6f642c32c6c4ef88d0e89101c052e3d6c065b |
File details
Details for the file uamqp-0.1.0a3-cp34-cp34m-manylinux1_x86_64.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp34-cp34m-manylinux1_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fc57d713f918e45f3acef36278bf19c448b8abacb49a176f617833335ab32f6 |
|
MD5 | e82859344c2d8a603133b1ee2040751b |
|
BLAKE2b-256 | ee0585175acfa1907c757e13b3bcc664e640740977f72c46159ad638c23c2fff |
File details
Details for the file uamqp-0.1.0a3-cp34-cp34m-manylinux1_i686.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp34-cp34m-manylinux1_i686.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45aaa80d4ba492b300b3c7ee85917fa6beb96a302d40a7922dc1753ee0c21e93 |
|
MD5 | bdb54063d269ca76ea4340b7df7b0268 |
|
BLAKE2b-256 | 67d42c4d4ef7c443056056734420e6bb98cbcec4b7ec0be6b3716f4bbf377788 |
File details
Details for the file uamqp-0.1.0a3-cp34-cp34m-macosx_10_6_intel.whl
.
File metadata
- Download URL: uamqp-0.1.0a3-cp34-cp34m-macosx_10_6_intel.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.4m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 410397256fd0d9f9b599daaae39be5e2336e5cfa4082d05da149e68f561c7323 |
|
MD5 | 01d2b467a7e5ad180711ddd0230b1b83 |
|
BLAKE2b-256 | 5c97fecbdd8cee8a087de3ea5fd79bc54224473057659e0b39884eec6b6489e0 |