kuqueue
A lightweight, pythonic wrapper around pyrsmq to expose MQ semantics over vanilla redis
Continuously tested against a recent redis instance and python>=3.8
Install
pip install kuqueue
For development, clone this repo and run make install.
Usage example
from redis import StrictRedis
from kuqueue import create_kuqueue
redis: StrictRedis
kq = create_kuqueue(redis, namespace="your-app-name", qname="name-of-your-queue", default_job_timeout=30)
kq.create() # ensures the queue exists in your redis
kq.push(b"message") # push message with raw bytes data
msg = kq.pull() # pull a message from the queue, blocking
... # do some some work
kq.ack(msg.id) # acknowledge the message, delete it from the queue
Metadata
Release files for kuqueue 0.1.2
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 |
|---|---|---|---|---|
| kuqueue-0.1.2.tar.gz | 3.2 kB | Without provenance | Details for kuqueue-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kuqueue-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for kuqueue-0.1.2-py3-none-any.whl |
Total release size: 6.3 kB
Release files / kuqueue-0.1.2.tar.gz
| Download URL | kuqueue-0.1.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c6bfff998f0c334bbb99a25854e37dc02b48e80b94be4a81ba2aff5088cf29c
|
|
BLAKE2b-256 checksum How to use checksums |
dd3ffb3d28f4a41d8b7d2180936ed16c6d40dd901183397ebde46c68726187cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.0
|
Release files / kuqueue-0.1.2-py3-none-any.whl
| Download URL | kuqueue-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
152a618ceaee8ec22c561c5ca2c19871c6cb4d50e70b8101471dacfc2c6c22c8
|
|
BLAKE2b-256 checksum How to use checksums |
0b1cba795cc8c3d63bc80505d3fc38e18175b728cc0654cc322b68abbd712976
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.0
|
Security for kuqueue 0.1.2
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.