Edwin A. Suominen
Books
Blog
Photography
Software
AsynQueue API Documentation

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 turns base.Queue into a base.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-desired deferToThread, in ThreadQueue.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 use process instead.
    • asynqueue.workers - Implementors of the interfaces.IWorker interface. These objects are what handle the tasks in your base.TaskQueue.
  • 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 of MandelbrotValuer that is called via the AsynQueue.ProcessQueue.
    • mcmandelbrot.vroot - The VRoot combines with the Baton to provide a powerful way to generate an HTML page. Adapted from another project for use in the mcmandelbrot demo site.
    • mcmandelbrot.wire - Uses asynqueue.wire to run and communicate with a server that generates Mandelbrot Set images.

Copyright © 2015-2021 Edwin A. Suominen.

Privacy policy: I don’t sniff out, track, or share anything identifying individual visitors to this site. There are no cookies or anything in place to let me see where you go on the Internet–that’s creepy. All I get (like anyone else with a web server), is plain vanilla server logs with “referral” info about which web page sent you to this one.