Skip to main content

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 Python 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.

The documentation can be found at: https://lzmp.readthedocs.io/en/latest/

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

lzmp-0.4.0.tar.gz (16.9 kB view details)

Uploaded Source

File details

Details for the file lzmp-0.4.0.tar.gz.

File metadata

  • Download URL: lzmp-0.4.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for lzmp-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8090749537a467cc6f8845b90e73f9067a25d209986f261b9a53298a1bfa65a6
MD5 0cf150abfbc81a694174a7194266061e
BLAKE2b-256 1a520209091986ef0d797a0a814b9764bad15e8235be70332296207147ef86ce

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