Skip to main content

Easy to use object-oriented thread pool framework.

Project description

Warning

This module is OBSOLETE and is only provided on PyPI to support old projects that still use it. Please DO NOT USE IT FOR NEW PROJECTS! Use modern alternatives like the multiprocessing module in the standard library or even an asynchroneous approach with asyncio.A thread pool is an object that maintains a pool of worker threads to performtime consuming operations in parallel. It assigns jobs to the threadsby putting them in a work request queue, where they are picked up by thenext available thread. This then performs the requested operation in thebackground and puts the results in another queue.The thread pool object can then collect the results from all threads fromthis queue as soon as they become available or after all threads havefinished their work. It’s also possible, to define callbacks to handleeach result as it comes in… note:: This module is regarded as an extended example, not as a finished product. Feel free to adapt it too your needs.

Project details


Release history Release notifications

This version
History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.2.7

History Node

1.2.6

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
threadpool-1.3.2-py2.7.egg (13.0 kB) Copy SHA256 hash SHA256 Egg 2.7 Oct 29, 2015
threadpool-1.3.2-py2-none-any.whl (8.5 kB) Copy SHA256 hash SHA256 Wheel 2.7 Oct 29, 2015
threadpool-1.3.2-py3-none-any.whl (8.5 kB) Copy SHA256 hash SHA256 Wheel 3.5 Oct 29, 2015
threadpool-1.3.2.tar.bz2 (33.1 kB) Copy SHA256 hash SHA256 Source None Oct 29, 2015
threadpool-1.3.2.zip (72.2 kB) Copy SHA256 hash SHA256 Source None Oct 29, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page