Skip to main content

Currently internal. Package to simplefy the using pika.

Project description

# Basic lib

Library for using rabbit mq

### Sync
```python

from easy_mq.queue import Queue

Queue.connect('url')

q = Queue('queue_name')
q.put('message')

for message in q.revivaid():
print(message)

```

### Async
```python


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


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.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

easy_mq-0.0.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file easy_mq-0.0.2.tar.gz.

File metadata

  • Download URL: easy_mq-0.0.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.14.2 setuptools/27.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.1

File hashes

Hashes for easy_mq-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a4368b27317918d3e8e1a911a2e42cbecacd939ab51c3a46f9b5262daa5d57c6
MD5 8e1da98fb89b771f3114c4b64aa8467a
BLAKE2b-256 47cbc1b9900f3b03d5c3fc7d6cf89e7f6a900f2d3afe05532776c4b9f885f24f

See more details on using hashes here.

File details

Details for the file easy_mq-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: easy_mq-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.14.2 setuptools/27.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.1

File hashes

Hashes for easy_mq-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0d3aca2c10b79a3b897375f8c05db694ccff7ef059852ad466a167af9af82366
MD5 674ee3477b856939792f9ef30cb413c3
BLAKE2b-256 a37e7db9eeb9a31bdf313eb28beb0182a6fe9993405591b520dceb10d9548ec0

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