Skip to main content

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 tasks
  • set_on_get_callback()
  • set_on_put_callback()
  • peek_nowait() - returns the "up-next" item without removing it from the queue
  • peek_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)

Uploaded Source

Built Distribution

aioqueueext-0.1.0-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

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