colibri - asyncio-based AMQP client
Usage example
from asyncio import get_event_loop, coroutine
from colibri import Connection, BasicMessage
@coroutine
def go():
c = Connection()
msg = BasicMessage('test message')
with (yield from c):
channel = c.channel()
with (yield from channel):
yield from channel.exchange_declare('otherex', type='direct')
yield from channel.queue_declare('otherqueue')
yield from channel.queue_bind('otherqueue', 'otherex', 'route')
yield from channel.basic_publish(msg, 'otherex', 'route')
res = yield from channel.basic_get('otherqueue')
print("this is the result: ", res.body)
get_event_loop().run_until_complete(go())
Installation
Using pip:
$ pip install colibri
From the source (requires virtualenv or root):
$ setup.py install
Metadata
Release files for colibri 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| colibri-0.0.1.tar.gz | 19.8 kB | Without provenance | Details for colibri-0.0.1.tar.gz |
Release files / colibri-0.0.1.tar.gz
| Download URL | colibri-0.0.1.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
910f6210d444b2a6a763cc69cbbc4f4199c26e49e690b6204eeffad7871376ae
|
|
BLAKE2b-256 checksum How to use checksums |
74cbdf1b3e939c3f9b2f33dcf1f848ab430c145632e7180de9befe1b351d66c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for colibri 0.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.