Skip to main content

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)

Metadata

Release files for asyncio-queue-rotation 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asyncio-queue-rotation 0.1.0
File Size Uploaded
asyncio_queue_rotation-0.1.0.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for asyncio-queue-rotation 0.1.0
File Interpreter ABI Platform
asyncio_queue_rotation-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / asyncio_queue_rotation-0.1.0.tar.gz

Download URL asyncio_queue_rotation-0.1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f2d5ab0b42751b7ca8ef82c84f270efbb54188c563daabc88f237aeeabe88cda
BLAKE2b-256 checksum
How to use checksums
4adf8cf0e8250edaf799e13d157578259509c137efeb064bd9fea65cfa1e6999
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.1 Linux/5.11.6-051106-generic

Release files / asyncio_queue_rotation-0.1.0-py3-none-any.whl

Download URL asyncio_queue_rotation-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66a85b23bc14af2efa1143c37fafa0b59856356beb3213a8ea889465aa24f75e
BLAKE2b-256 checksum
How to use checksums
da140adade5df7aef82098f7806b0cd4c6d5b7ab3900471263b9ec127e897e5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.1 Linux/5.11.6-051106-generic

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page