Skip to main content

Dead-simple parallel execution.

Project description

manydo

Dead-simple parallel execution with a loading bar sprinkled on top.

Installation

pip install manydo. Or, better for you, use Poetry: poetry add manydo.

Usage

manydo is simple. All you need is map:

from manydo import map

map(lambda x: x + 3, [1, 2, 3]) # [4, 5, 6]
map(function, iterable, num_jobs=16) # try not to burn your CPU
map(function, iterable, loading_bar=False)
map(function, iterable, desc='Passes arguments to tqdm')

Related projects

pqdm is very similar, but didn't work for me ¯\_(ツ)_/¯

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

manydo-0.1.6.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

manydo-0.1.6-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

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