redis-simple-mq
A simple message queue for Redis.
Description
This is a light-weight message queue based on Redis.
Key features:
- Class based API to the queue with all basic queue functions
- Queue is implement as FIFO
- All messages are stored and retrieved as UTF-8 strings
- Bulk methods for enqueue and dequeue
- No limit on the number of parallel queues
- Fully tested
Basic example
from redis import Redis
from simple_mq import SimpleMQ
conn = Redis()
q = SimpleMQ(conn)
q.enqueue('Hello, World!')
message = q.dequeue()
print(message)
See also the examples folder for examples.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redis_simple_mq-2.0.1.tar.gz
(11.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file redis_simple_mq-2.0.1.tar.gz.
File metadata
- Download URL: redis_simple_mq-2.0.1.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.34.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67b82e879c6f2cf6ecc3345ebf6715ad213dcfeb987b7b72cb1001ae491ada97
|
|
| MD5 |
bba433d086ce7ae08faf93b14d9e6e37
|
|
| BLAKE2b-256 |
56f41044b589399c1de78e21aa3739c64f96b3eff907dcc87584eb0467495b7a
|
File details
Details for the file redis_simple_mq-2.0.1-py3-none-any.whl.
File metadata
- Download URL: redis_simple_mq-2.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.34.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50f42ffc786b5a3c75c349c4895527d93acd6a564b8b537de8cc975f4b8fdac6
|
|
| MD5 |
c448acbdf62355e528aba8ac6d22ecbc
|
|
| BLAKE2b-256 |
3d76611de73aff828e15b93fe519919aa23853cb0f987952267a7f631fb06071
|