simple wrapper around the multiprocessing module allowing the lazy programmer to run batches of processes
Project description
lzmp
lzmp
is a simple wrapper around the multiprocessing module,
allowing the lazy programmer to run batches of processes.
lzmp contains the class Pool
which lets the user specify one or more
callable objects (such as functions) along with lists or argument to
process. lzmp
collects the return value of each call and return
the whole lot as a list, keeping the original submission order. For
a single type of callable, the standalone function run
wraps the
wrapper and allows one-line parallelization. Optionally, a function
may be called on the list of compiled results.
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
Built Distribution
File details
Details for the file lzmp-0.1.tar.gz
.
File metadata
- Download URL: lzmp-0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b19b54cda385d4e7af4265be0898e2119530e29c32f06132862f2f5b1bb8cd49 |
|
MD5 | ffa73a55500b40f45afa5c799e03aa9b |
|
BLAKE2b-256 | d370508174edd662ba0d2d710e96161a0c6076954f31a8de1033b4edf7e34ad5 |
File details
Details for the file lzmp-0.1-py3-none-any.whl
.
File metadata
- Download URL: lzmp-0.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 787ac0a2197787b052cece1d28b10dc65ae62222bc89c2ff1b066d82badecf1b |
|
MD5 | e89ce140b6ea11d140f5586fc66f14e5 |
|
BLAKE2b-256 | 5b63dee72c8b5eee641bdd34a8d2fa05431a147bb9c0c98ca472b58297541ff4 |