Queue system with key-based throttling implemented over Redis.
Project description
Queue system with key-based throttling implemented over Redis.
Free software: BSD 2-Clause License
Installation
pip install redis-throttled-queue
You can also install the in-development version with:
pip install https://github.com/ionelmc/python-redis-throttled-queue/archive/main.zip
Documentation
Development
To run all the tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Changelog
0.3.1 (2022-03-31)
Rename attributes (should be safe to mess with):
_limit becomes limit.
_resolution becomes resolution.
0.3.0 (2022-03-31)
Allow pop(window) using any window value (str/bytes/int recommended tho).
0.2.0 (2022-03-31)
Fix __len__ (was returning a string).
0.1.0 (2022-03-30)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for redis-throttled-queue-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42ae62ee904d8be38dfc0e97150e9326de94d4e84ee12a2126c5cc5c80153de2 |
|
MD5 | d5d2ec0a441891e1e02654aaa6caf20c |
|
BLAKE2b-256 | 73575682ec5d2b29300423f91f6c180903f2f738becc577f867adf28769aafef |
Close
Hashes for redis_throttled_queue-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f970235ab8991e6faa0e403c46c62a4dd87b857732473497ed18899ffed3b2d |
|
MD5 | 2b177153206175734f3c675992f3bbff |
|
BLAKE2b-256 | 121279a02a263bffc9bcb0c56c9e04f977a6a694fb2e8091fe2fb241e911a336 |