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.3.2.tar.gz (4.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for lzmp-0.3.2.tar.gz
Algorithm Hash digest
SHA256 bffd06370d070d09a1d35ab3e2880f199a3c156f2bc1615471e624fb8cb535cd
MD5 7a168cb71a1da3f74669ae9dd4795f73
BLAKE2b-256 de14b3a3062b3c841a50b8991de99e43b431cd6794752444d8fa22ca6c2cbe76

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