Skip to main content

Simple message queue based on Redis.

Project description

redis-simple-mq

A simple message queue for Redis.

release python pipeline codecov Documentation Status license pre-commit Code style: black chat

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.

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

redis_simple_mq-1.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

redis_simple_mq-1.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file redis_simple_mq-1.1.0.tar.gz.

File metadata

  • Download URL: redis_simple_mq-1.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for redis_simple_mq-1.1.0.tar.gz
Algorithm Hash digest
SHA256 2f29eb6efe5201895fc35efad4dd060465435dd222a49d3a5ad8fc89d9e8a39d
MD5 9841861f81ebc6861a881bde618f4dd0
BLAKE2b-256 29ecb67fdfaa1b2e45c77c744f123b013ab8d766f381345085bc08b2295dcb77

See more details on using hashes here.

File details

Details for the file redis_simple_mq-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for redis_simple_mq-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10cc60e8b8bf41b32ecdfc8c54aae9a5436e67ca9426e6285f1d2d67bd5f7400
MD5 024698e096020686cdfb5cb8bdab54ea
BLAKE2b-256 e2f93b76c807e590781fbac3053660050d0f59229f0dfafeea012e34d2967529

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page