skip to navigation
skip to content

AsynQueue 0.9.2

Asynchronous task queueing based on the Twisted framework.

Asynchronous task queueing based on the Twisted framework, with task prioritization and a powerful worker interface. Worker implementations are included for running tasks asynchronously in the main thread, in separate threads, and in separate Python interpreters (multiprocessing).

Includes an example package mcMandelbrot that generates Mandelbrot set images, row by row, demonstrating the power of asynchronous multi-core processing. An instance of ProcessQueue dispatches the computations for each row of pixels to workers running on separate Python processes. The color-mapped RGB results are collected as they come back and intelligently buffered for iterating in a proper sequence to a third-party PNG library that wouldn’t ordinarily play nice with Twisted.

 
File Type Py Version Uploaded on Size
AsynQueue-0.9.2.tar.gz (md5) Source 2015-06-27 124KB
AsynQueue-0.9.2.zip (md5) Source 2015-06-27 166KB