PPool
PPool is a Pool for Processes in Python with locks. The main advantage is the ability to use Locks from multiprocessing
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()
Metadata
Release files for PPool 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PPool-1.0.0.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PPool-1.0.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 4.2 kB
Release files / PPool-1.0.0.tar.gz
| Download URL | PPool-1.0.0.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
274b80f182645bc85f79598190c80fd800cfe8dd9cbd30281338418b4fa2b8c8
|
|
BLAKE2b-256 checksum How to use checksums |
96ba3c4911a2dbc1d32dcd71a6fb8f9de87d17a651f014977af21cf3c10c1de1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / PPool-1.0.0-py2-none-any.whl
| Download URL | PPool-1.0.0-py2-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
989ecba4a073438ff6fd01c38830d2aaf2d1f966492dcb1900a6b5ecb81cce2e
|
|
BLAKE2b-256 checksum How to use checksums |
0954d4fbc5368f1576367e892c36d30d40301230ee45d9d32f4a17771da89a21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|