Skip to main content

Simple message queue based on Redis.

Project description

redis-simple-mq

A simple message queue for Redis.

release python CI/CD 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.1.tar.gz (11.3 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.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for redis_simple_mq-2.0.1.tar.gz
Algorithm Hash digest
SHA256 67b82e879c6f2cf6ecc3345ebf6715ad213dcfeb987b7b72cb1001ae491ada97
MD5 bba433d086ce7ae08faf93b14d9e6e37
BLAKE2b-256 56f41044b589399c1de78e21aa3739c64f96b3eff907dcc87584eb0467495b7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for redis_simple_mq-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 50f42ffc786b5a3c75c349c4895527d93acd6a564b8b537de8cc975f4b8fdac6
MD5 c448acbdf62355e528aba8ac6d22ecbc
BLAKE2b-256 3d76611de73aff828e15b93fe519919aa23853cb0f987952267a7f631fb06071

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