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 hashes)

Uploaded Source

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