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 hashes)
Built Distribution
Close
Hashes for aioqueueext-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f0dc5f9110cbcdb7fbc29a03a990290a2a2717ec56236da6688d536aa1759b7 |
|
MD5 | 4d722f4dcd92c9ffb8962ef775b6971a |
|
BLAKE2b-256 | 66a0fdc1c4ceb19069d7b76854610d8184d19b23bcfacc97633c252bbc8db0dd |