No project description provided
Project description
asyncio rotation queue
based on asyncio.Queue
On put( element )
if qsize() >= maxsize
first element popped out and put elements added to back of queue
from asyncio_queue_rotation import RotationQueue
rotation_queue = RotationQueue(10)
await rotation_queue.put(1)
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
File details
Details for the file asyncio_queue_rotation-0.1.0.tar.gz
.
File metadata
- Download URL: asyncio_queue_rotation-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.11.6-051106-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d5ab0b42751b7ca8ef82c84f270efbb54188c563daabc88f237aeeabe88cda |
|
MD5 | 9fedbb3e7b2bded9dcb53beb7c0e3907 |
|
BLAKE2b-256 | 4adf8cf0e8250edaf799e13d157578259509c137efeb064bd9fea65cfa1e6999 |
File details
Details for the file asyncio_queue_rotation-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: asyncio_queue_rotation-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.11.6-051106-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66a85b23bc14af2efa1143c37fafa0b59856356beb3213a8ea889465aa24f75e |
|
MD5 | 52a2cb6383b25ed20bac52388ef92da6 |
|
BLAKE2b-256 | da140adade5df7aef82098f7806b0cd4c6d5b7ab3900471263b9ec127e897e5a |