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.4.tar.gz
(3.0 kB
view hashes)
Built Distribution
manydo-0.1.4-py3-none-any.whl
(3.6 kB
view hashes)