pyrede - The
Element Snooze Python Module
🚀A Rede is a fancy snooze delayed queue
Usage
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)
time.sleep(1)
list(rede.poll())
output-> ["123", "456"]
Metadata
Release files for pyrede 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrede-0.0.4.tar.gz | 5.2 kB | Without provenance | Details for pyrede-0.0.4.tar.gz |
Release files / pyrede-0.0.4.tar.gz
| Download URL | pyrede-0.0.4.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
574704aff45a21faecd37cd26880f61a11b4dc734a17ff2a93e15dc2fe1cf8dd
|
|
BLAKE2b-256 checksum How to use checksums |
43eb581adef6e6689097d9228816e6f6ee9bf6d83f66fc3a4481cef2637f507a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
|
Security for pyrede 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.