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.

Source Distribution

PPool-1.0.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

PPool-1.0.0-py2-none-any.whl (2.3 kB view details)

Uploaded Python 2

File details

Details for the file PPool-1.0.0.tar.gz.

File metadata

  • Download URL: PPool-1.0.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.10

File hashes

Hashes for PPool-1.0.0.tar.gz
Algorithm Hash digest
SHA256 274b80f182645bc85f79598190c80fd800cfe8dd9cbd30281338418b4fa2b8c8
MD5 7e12b6dab1f6d83e55ae260686a1651f
BLAKE2b-256 96ba3c4911a2dbc1d32dcd71a6fb8f9de87d17a651f014977af21cf3c10c1de1

See more details on using hashes here.

File details

Details for the file PPool-1.0.0-py2-none-any.whl.

File metadata

  • Download URL: PPool-1.0.0-py2-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.10

File hashes

Hashes for PPool-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 989ecba4a073438ff6fd01c38830d2aaf2d1f966492dcb1900a6b5ecb81cce2e
MD5 ff6f94e33619774299be1855e8aec365
BLAKE2b-256 0954d4fbc5368f1576367e892c36d30d40301230ee45d9d32f4a17771da89a21

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page