Yet Another python queue backed by redis; but modern and compliant
Project description
Yet Another python queue backed by redis; but modern and compliant
Free software: MIT license
Documentation: https://yarqueue.readthedocs.io.
Heavily inspired by hotqueue.
Features
Compatible with the API of multiprocessing.Queue
LIFO, FIFO and Double-Ended variants
Each has a non-joinable and a joinable form (compatible with multiprocessing.JoinableQueue)
Additional convenience methods:
get_many(), put_many(), clear() for all queues
n_tasks() and n_in_progress() for joinable queues
Can be used as a context manager
Deletes the queue on exit
For Joinable variants, first waits for all tasks to be done
Can use custom serializers, or none at all
By default, uses the highest pickle protocol available, using the pickle5 backport if possible.
As thread-safe as the underlying Redis client instance
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yarqueue-0.2.0.tar.gz.
File metadata
- Download URL: yarqueue-0.2.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5796aa9166c9e29a1008417cf5f94ce9e89bf8877c1982a4c19c2491dcddff5b
|
|
| MD5 |
e39bd2196cb429ebf6c4c86a0960aac8
|
|
| BLAKE2b-256 |
f421c6bb25728dcc47193ace756f15549b9babd14491f50e03b3c40bdeb049e0
|
File details
Details for the file yarqueue-0.2.0-py2.py3-none-any.whl.
File metadata
- Download URL: yarqueue-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
884ec1e1b45006acb8e886b7b13a1a7b69a105fac51b8a9e59fc8d8ff6d2e12e
|
|
| MD5 |
3318989e2ab9ea9f0b6129d3579c70d0
|
|
| BLAKE2b-256 |
1e878bb4cecbc638b14949daf943ceb85154daa8cb7a7bbf0b43556d474e9a84
|