Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redis-simple-mq

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-simple-mq

Simple message queue based on Redis.

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc