Extended asyncio queues, implements peeking, setting put and get callbacks.
Project description
aioqueueext
A package that provides asyncio Queues with additional functionality.
Work-in-Progress
The repository contains modules extracted from my other project and was refactored as a separate package.
In the current version, I have not verified all of the functions.
Additional functions I plan to implement are:
return_when_*()
- async functions to ease synchronization tasksset_on_get_callback()
set_on_put_callback()
peek_nowait()
- returns the "up-next" item without removing it from the queuepeek_and_get()
- async peek and conditionally get (pop) an item from the queue
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
aioqueueext-0.1.0.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file aioqueueext-0.1.0.tar.gz
.
File metadata
- Download URL: aioqueueext-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 396ae9cfec2f2b0e0019d70cb2be9ec81355fb49ee68b200798dbc5901aef030 |
|
MD5 | 9f6c30e2306f85d6ed321dac86239ddb |
|
BLAKE2b-256 | 66d1b173bdb8c33ec3402897a10a3c34499fd1dab0a0f71bfceed393bbdb5508 |
File details
Details for the file aioqueueext-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: aioqueueext-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f0dc5f9110cbcdb7fbc29a03a990290a2a2717ec56236da6688d536aa1759b7 |
|
MD5 | 4d722f4dcd92c9ffb8962ef775b6971a |
|
BLAKE2b-256 | 66a0fdc1c4ceb19069d7b76854610d8184d19b23bcfacc97633c252bbc8db0dd |