Currently internal. Package to simplefy the using pika.
Project description
Basic lib
Library for using rabbit mq
Sync
from easy_mq.queue import Queue
Queue.connect('url')
q = Queue('queue_name')
q.put('message')
for message in q.revivaid():
print(message)
Async
from easy_mq.queue import AsyncQueue
AsyncQueue.connect(host='url')
async def main():
q = AsyncQueue('queue_name')
q.put('message')
async for message in q.revivaid():
print(message)
import asyncio
asyncio.run(main())
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
easy_mq-0.0.6.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file easy_mq-0.0.6.tar.gz
.
File metadata
- Download URL: easy_mq-0.0.6.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2506ffa9b79be2d162aedee441f5d701f17635ca7ae8fd594f41b3ddb14a456 |
|
MD5 | 0a528437a91e62d7ddc20749d96c80f1 |
|
BLAKE2b-256 | 357c676eb034cf201bb54b48d7888966003c50c68512d9d7d25668dc21776750 |
File details
Details for the file easy_mq-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: easy_mq-0.0.6-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf96b5df4a8059f0cbfbfd8cc1a3a7dfe63c209260758b65c96316ea930ec35 |
|
MD5 | a5391fa735f0fecc6b7c3c591e4e9779 |
|
BLAKE2b-256 | cb3d1c0e32f0b46677e7041dd7111212c8241224989055bd3800bf611311bf8d |