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-2.0.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-2.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for redis_simple_mq-2.0.0.tar.gz
Algorithm Hash digest
SHA256 32ab7e2406e191095abbf12ded7c9fbc9f66f9b26f92ce0d06903af82e91ecbf
MD5 b5cce067090871a56601c1103aa85f12
BLAKE2b-256 4950e61d9cd9f139a0b02d87410f0ba1a94c0513ba080442b1d601cf382705bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for redis_simple_mq-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ceb074845f8af476f6a09de84715176bcffb5b0481780e6be0ee52f3ba2c6ed0
MD5 a96297bce3b68ebebd81312fc677bd42
BLAKE2b-256 b2e0034af54cd600d9d2dd450a8c6612762cf8706f009687678510611620073e

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