Skip to main content

Threadpool library for humans.

Project description

Thread pool library for Humans.

Latest Version Build Status Coverage Status


Using pip

pip install SimplePool

or to get the source via pip, use

pip install -e git+

From source

  • Clone from Github.

  • Execute python install


Basic usage is shown here.

import SimplePool

# Function to be executed.
def printer(x, y, testx=None, testy=None):
    print x, y, testx, testy
    print "Done"

t = SimplePool.ThreadPool()

# Adding the same function 100 times
for i in range(100):
    args = ('formalx', 'formaly')
    kwargs = {'testx': 'keywordx', 'testy': 'keywordy'}
    j = SimplePool.ThreadJob(printer, args, kwargs)  # Create a thread_job object.


If you want to add features, or improve anything feel free to send a pull request. If you have any issues, open an issue.


  • Putting results in result_q and handling the results

  • Handling exceptions in the function call

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Source Distribution

SimplePool-0.1.tar.gz (36.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page