Skip to main content

A Pool for Processes in Python with locks

Project description

PPool

PPool is a Pool for Processes in Python with locks. The main advantage is the ability to use Locks from multiprocessing

Example

from PPool.Pool import Pool
params = [('A', 2),('B', 3),('C', 4), ('D', 5)]

def foo(name, num):
    print(name+str(num))

pool = Pool(max_num_of_processes=3, func=foo, params_list=params)

pool.run()

Project details


Release history Release notifications

This version
History Node

0.1.0

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
PPool-0.1.0-py2-none-any.whl (2.2 kB) Copy SHA256 hash SHA256 Wheel py2 Aug 2, 2018
PPool-0.1.0.tar.gz (1.7 kB) Copy SHA256 hash SHA256 Source None Aug 2, 2018

Supported by

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