Skip to main content

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.

Metadata

Release files for redis-simple-mq 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for redis-simple-mq 2.0.1
File Size Uploaded
redis_simple_mq-2.0.1.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for redis-simple-mq 2.0.1
File Interpreter ABI Platform
redis_simple_mq-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / redis_simple_mq-2.0.1.tar.gz

Download URL redis_simple_mq-2.0.1.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
67b82e879c6f2cf6ecc3345ebf6715ad213dcfeb987b7b72cb1001ae491ada97
BLAKE2b-256 checksum
How to use checksums
56f41044b589399c1de78e21aa3739c64f96b3eff907dcc87584eb0467495b7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / redis_simple_mq-2.0.1-py3-none-any.whl

Download URL redis_simple_mq-2.0.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50f42ffc786b5a3c75c349c4895527d93acd6a564b8b537de8cc975f4b8fdac6
BLAKE2b-256 checksum
How to use checksums
3d76611de73aff828e15b93fe519919aa23853cb0f987952267a7f631fb06071
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.5.0

2 release files

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page