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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file manydo-0.1.6.tar.gz.
File metadata
- Download URL: manydo-0.1.6.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.6.9 Linux/5.10.102-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da05460f6ab013e0f5f3a1225e5348a9aed2363a54530da6067e3b4c84440d37
|
|
| MD5 |
96dcef05a318dca6e054627c25b93f92
|
|
| BLAKE2b-256 |
04d0e5f92cb99bd442eb886f27a7cbda0ab64f2a90ac17ad9d40d203e4a70ad3
|
File details
Details for the file manydo-0.1.6-py3-none-any.whl.
File metadata
- Download URL: manydo-0.1.6-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.6.9 Linux/5.10.102-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6adcb36b77ea8f026ef496dbe307e1648642c9fcae1ced16e61bb3e2d490cf27
|
|
| MD5 |
16cf11cf558177822478d522cdb15dfd
|
|
| BLAKE2b-256 |
3057b25a93da753482ef8d41bb539a44651fc85992cd924cd87b8d4f53ec29ab
|