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 details)

Uploaded Source

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

Hashes for cs.queues-20150115.tar.gz
Algorithm Hash digest
SHA256 74ca35771810211c1f6be7121b2652d4c27bf622105a058bf6fc807228287bf3
MD5 333a1dc09928ae5bb241d26841d24545
BLAKE2b-256 c83639246be15d0a87944a5ce37ffeaa601a862c0b1881e24785c8d9b3d16495

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