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

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

Project details


Download files

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

Files for PPool, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size PPool-1.0.0-py2-none-any.whl (2.3 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size PPool-1.0.0.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

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