Skip to main content

A Redis snooze delayed queue module.

Project description

pyrede - The redis Element Snooze Python Module

:rocket:A Rede is a fancy snooze delayed queue


The Rede is an effective 'snooze button' for events, you push an event into it along (for future referance) and in how many seconds you want it back, and poll whenever you want the elements back. only expired elements would pop out.

   import pyrede
   import redis

   rede = pyrede.Rede(redis.Redis(decode_responses=True), "demo")

   rede.push("123", 1)
   rede.push("456", 1)
   rede.push("789", 3)



output-> ["123", "456"]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyrede, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size pyrede-0.0.4.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page