Module Index
- asynqueue - Priority queueing of tasks to one or more workers.
- asynqueue.base - The
TaskQueue
and its immediate support staff. - asynqueue.errors - Custom Exceptions.
- asynqueue.info - Information about callables and what happens to them.
- asynqueue.interfaces - The worker interface.
- asynqueue.iteration - Iteration, Twisted style!
- asynqueue.misc - Miscellaneous stuff that is needed for
test_wire
and nothing else. - asynqueue.null - A dead-simple
TaskQueue
that queues up and runs non-blocking tasks in the Twisted main loop. - asynqueue.process - An implementor of the
IWorker
interface using (gasp! Twisted heresy!) Python's standard-library multiprocessing. - asynqueue.tasks - Task management for the task queue workers. The star of this show is
TaskHandler
, which is what turnsbase.Queue
into abase.TaskQueue
. - asynqueue.test - Unit tests for asynqueue
- asynqueue.test.test_base - Unit tests for asynqueue.base
- asynqueue.test.test_info - Unit tests for asynqueue.info
- asynqueue.test.test_interfaces - Unit tests for asynqueue.interfaces
- asynqueue.test.test_iteration - Unit tests for
iteration
. - asynqueue.test.test_process - Unit tests for asynqueue.process
- asynqueue.test.test_tasks - Unit tests for asynqueue.tasks
- asynqueue.test.test_threads - Unit tests for asynqueue.threads
- asynqueue.test.test_util - Unit tests for asynqueue.util
- asynqueue.test.test_wire - Unit tests for asynqueue.workers
- asynqueue.test.test_workers - Unit tests for asynqueue.workers
- asynqueue.test.testbase - Intelligent import, Mock objects, and an improved TestCase for AsynQueue
- asynqueue.threads -
ThreadQueue
,ThreadWorker
and their support staff. Also, a cool implementation of the oft-desireddeferToThread
, inThreadQueue.deferToThread
. - asynqueue.util - Miscellaneous useful stuff.
- asynqueue.va - I provide a ready-made convenience object for all your Python version agnosticism needs.
- asynqueue.wire -
WireWorker
and its support staff. For most applications, you can useprocess
instead. - asynqueue.workers - Implementors of the
interfaces.IWorker
interface. These objects are what handle the tasks in yourbase.TaskQueue
.
- asynqueue.base - The
- mcmandelbrot - No summary
- mcmandelbrot.colormap - Colormapping, which is a tricky business when visualizing fractals that you can zoom in on.
- mcmandelbrot.gui - A simple PyQt4 GUI for mcMandelbrot.
- mcmandelbrot.html - A Twisted web
Resource
that serves clickable, zoomable Mandelbrot Set images. - mcmandelbrot.image - Render Mandelbrot Set images in PNG format in response to Twisted web
requests. Used by
html
. - mcmandelbrot.main - No summary
- mcmandelbrot.runner - Runner for Mandelbrot set computation processes.
- mcmandelbrot.test - Unit tests for mcmandelbrot
- mcmandelbrot.test.test_main - Unit tests for mcmandelbrot.runner
- mcmandelbrot.test.test_runner - Unit tests for mcmandelbrot.runner
- mcmandelbrot.test.test_valuer - Unit tests for mcmandelbrot.valuer
- mcmandelbrot.test.test_vroot - Undocumented
- mcmandelbrot.test.test_wire - Unit tests for asynqueue.workers
- mcmandelbrot.test.testbase - Intelligent import, Mock objects, and an improved TestCase for AsynQueue
- mcmandelbrot.valuer - Point valuer for
mcmandelbrot
. Each CPU core has its own copy ofMandelbrotValuer
that is called via theAsynQueue.ProcessQueue
. - mcmandelbrot.vroot - The
VRoot
combines with theBaton
to provide a powerful way to generate an HTML page. Adapted from another project for use in themcmandelbrot
demo site. - mcmandelbrot.wire - Uses
asynqueue.wire
to run and communicate with a server that generates Mandelbrot Set images.