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
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
cs.queues-20150115.tar.gz
(5.7 kB
view hashes)