Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asyncio_queue_rotation-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asyncio_queue_rotation-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for asyncio_queue_rotation-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f2d5ab0b42751b7ca8ef82c84f270efbb54188c563daabc88f237aeeabe88cda
MD5 9fedbb3e7b2bded9dcb53beb7c0e3907
BLAKE2b-256 4adf8cf0e8250edaf799e13d157578259509c137efeb064bd9fea65cfa1e6999

See more details on using hashes here.

File details

Details for the file asyncio_queue_rotation-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for asyncio_queue_rotation-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66a85b23bc14af2efa1143c37fafa0b59856356beb3213a8ea889465aa24f75e
MD5 52a2cb6383b25ed20bac52388ef92da6
BLAKE2b-256 da140adade5df7aef82098f7806b0cd4c6d5b7ab3900471263b9ec127e897e5a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page