Sentieo Redis Queue
Installation
You can install SentieoRedisQueue via [pip] from [PyPI]:
$ pip install --extra-index-url https://api.packagr.app/PLesWotlL redis-queue==0.0.2
Documentation
SentieoRedisQueue is a queueing system implemented using Redis Sorted Sets
Usage
from priority_redis_queue.queue import RedisQueue
queue = RedisQueue("queue_name", "redis_host", "port")
queue.push_to_pipeline("item_1") # push to queue
queue.consumer_pipeline() # process the queue
Development
- Clone this repository
- Requirements:
- Poetry
- Python 3.10+
- Create a virtual environment and install the dependencies
make poetry-download
- Activate the virtual environment
make env
Testing
make test
Pre-commit
Pre-commit hooks run all the auto-formatters (e.g. black, isort), linters (e.g. mypy, flake8), and other quality
checks to make sure the changeset is in good shape before a commit/push happens.
You can install the hooks with (runs for each commit):
pre-commit install
Or if you want them to run only for each push:
pre-commit install -t pre-push
Or if you want e.g. want to run all checks manually for all files:
pre-commit run --all-files
Contributing
Contributions are very welcome.
Metadata
Release files for priority_redis_queue 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 | |
|---|---|---|---|
| priority_redis_queue-0.0.4.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| priority_redis_queue-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / priority_redis_queue-0.0.4.tar.gz
| Download URL | priority_redis_queue-0.0.4.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c07adb1dc14e76771af6f92f8832d20f43d1d4e406a53d553ac927af1baea82
|
|
BLAKE2b-256 checksum How to use checksums |
ef8841af2761d8d7343b27cb4c403e8db40b723d560948db2e4ba7026d9ae0b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.6 Darwin/23.5.0
|
Release files / priority_redis_queue-0.0.4-py3-none-any.whl
| Download URL | priority_redis_queue-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12a12c252ca9347416380c51f21b8940d2d804d50244922759ba747755a18ba5
|
|
BLAKE2b-256 checksum How to use checksums |
82ccca192b9571a32d2e36d8786429e0e24c2810e962a586471195231dc61c3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.6 Darwin/23.5.0
|