PPool

A Pool for Processes in Python with locks


Keywords
multiprocessing
License
Apache-2.0
Install
pip install PPool==0.1.0

Documentation

PPool

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

PyPI version

Install

pip install PPool

pypi

https://pypi.org/project/PPool/

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()