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 details)
File details
Details for the file cs.queues-20150115.tar.gz.
File metadata
- Download URL: cs.queues-20150115.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74ca35771810211c1f6be7121b2652d4c27bf622105a058bf6fc807228287bf3
|
|
| MD5 |
333a1dc09928ae5bb241d26841d24545
|
|
| BLAKE2b-256 |
c83639246be15d0a87944a5ce37ffeaa601a862c0b1881e24785c8d9b3d16495
|