skillfed

redis-simple-mq

Simple message queue based on Redis.

redis-simple-mq v2.0.1 238.3K downloads/30d#8,941 on PyPI0
Permissive license Active released

What it is and what it does

redis-simple-mq is a thin wrapper around Redis that implements a FIFO message queue with a straightforward class-based API. It stores all messages as UTF-8 strings and provides basic enqueue and dequeue operations, plus bulk methods for moving multiple messages at once. The package requires only the redis client library as a dependency and runs on Python 3.10 and later.

It is designed for simple use cases where you need a lightweight queue without the overhead of a full message broker. The implementation is fully tested and supports unlimited parallel queues on the same Redis instance. It is most useful in applications that already use Redis and need a quick, low-ceremony way to add task or message queuing.

Use it for:

  • Decouple work in a web application by enqueueing background tasks to be processed by separate workers.
  • Implement a simple job queue for batch processing or scheduled tasks in a microservice.
  • Buffer incoming requests or events in a high-throughput system before downstream processing.
  • Coordinate message passing between multiple processes or services that share a Redis instance.
  • Prototype or build a lightweight task distribution system without deploying a full message broker.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A lightweight message queue built on Redis that provides a class-based API for enqueueing and dequeueing messages in FIFO order, with support for bulk operations.

Yes, if you already run Redis and need a minimal, permissively licensed queue without external dependencies beyond redis. The low install friction and active maintenance make it a reasonable choice for simple use cases. However, the lack of community adoption and sparse documentation mean you should verify it handles your specific queue semantics before committing to production.

Install

redis-simple-mq on PyPI

pip

pip install redis-simple-mq

uv

uv add redis-simple-mq

poetry

poetry add redis-simple-mq

Installing redis-simple-mq

Before you install

Low friction to install as a pure Python wheel with only redis as a runtime dependency. Actively maintained with recent commits; however, the project has no stars and minimal adoption signals, so community support or long-term stability cannot be inferred.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal restrictions.

Quickstart

pip install redis-simple-mq

from redis import Redis
from redis_simple_mq import SimpleMQ

conn = Redis()
q = SimpleMQ(conn)
q.enqueue('Hello, World!')
message = q.dequeue()
print(message)

Requires a running Redis server accessible via the redis Python client.

Verify before relying

  • Whether bulk enqueue/dequeue methods are documented or what their performance characteristics are.
  • What happens when dequeue is called on an empty queue (blocking vs. returning None).
  • Whether the queue supports message expiration or TTL settings.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 1 — redis
Maintenance actively maintained — 44 days since the last release
Last repo commit
First released
Downloads 238,317/month — #8,941 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: redis_simple_mq-2.0.1-py3-none-any.whl

Keywords: queue, redis

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Tags

redis message queuesimple task queuefifo queue redislightweight message brokerredis job queueenqueue dequeueredis-based queue
message-queueredis-backed

More Database packages