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

Uploaded Source

Built Distribution

redis_simple_mq-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for redis_simple_mq-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b0040bd2d4ed54b498028788feb7d0f7d7764d6db1ff53ecb03eaa2d0170b954
MD5 0f5b7f399b4dd5d40bd6a73cf2954372
BLAKE2b-256 ffb078f93a4b7050293761bac96ab77ae0da1ab3267bb7c2f827a5e043d94738

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for redis_simple_mq-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2b7b2603ca0523650b8b1db4f53c9da4d59426a8b4e899cb9aab1cf28ca2042
MD5 8bbfdad70489a14dba587b61a92633d6
BLAKE2b-256 de3f694b1fb297179652ea02457a5fe08eba0a60051771e9c98b62416dfed225

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