Skip to main content

some Queue subclasses and ducktypes

Project description

Presents:

  • IterableQueue and IterablePriorityQueue, Queues with the iterator protocol instead of .get(). Prospective users should also consider iter(Queue.get,sentinel), which plainly I did not.

  • Channel, a zero storage message passing object.

  • NullQueue, a .puttable object that discards its inputs.

  • TimerQueue, a queue for submtting jobs to run at specific times without creating many Timer threads.

  • PushQueue, a Queue ducktype which queues a function on .put, whose iterable result is put onto an output 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

cs.queues-20150115.tar.gz (5.7 kB view hashes)

Uploaded Source

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