Skip to main content

Asynchronous task queueing based on the Twisted framework.

Project description

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.

Python 3 compatiblity is in the works, but not yet supported.

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

AsynQueue-0.9.3.tar.gz (129.7 kB view details)

Uploaded Source

File details

Details for the file AsynQueue-0.9.3.tar.gz.

File metadata

  • Download URL: AsynQueue-0.9.3.tar.gz
  • Upload date:
  • Size: 129.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for AsynQueue-0.9.3.tar.gz
Algorithm Hash digest
SHA256 78fdb43b5a947c52e1a951ba41849fcbb6f368fb23bd048db916e7cecc32d6d5
MD5 974e356134ac65b36039c6f754aa6716
BLAKE2b-256 73aafd7d62a7541ee9bf7d178141680b4d35df463cf93391921ce861ae120b54

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