easy_multip
easy_multip is a small tool designed to simplify Python multiprocessing capabilities.
Current Features
- easy_multip.map(func, arg_group, leave_one_cpu_free=True)
- map() or list comprehension type functionality that is parallelized using multiprocessing and includes a progress bar
- Usage is similar to the below constructs:
list(map(func, arg_group)) or [func(arg) for arg in arg_group]
- easy_multip.doloop(func, arg_group, leave_one_cpu_free=True)
- for loop equivalent that runs a function that returns None
- Useful in situations like file processing where each operation is expensive and totally independent
- Allocates jobs evenly among processors and provides a progress bar... of sorts
- Usage is similar to the below construct:
for arg in arg_group: func(arg)
- easy_multip.decorators.use_multip(func, leave_one_cpu_free=True)
- Decorator providing capability of quickly adding multiprocessing to a function operating on a list
- ONLY for functions taking a list first arg that returns a list or None
- DO NOT USE
@decoratorsyntax! Must use the following pattern:def _func(list_arg, *args, **kwargs): # stuff happens return [] (or None) func = use_multip(_func)
License
MIT
Metadata
Release files for easy-multip 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| easy_multip-0.3.4.tar.gz | 5.1 kB | Without provenance | Details for easy_multip-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| easy_multip-0.3.4-py3-none-any.whl | Python 3 | none | any | Details for easy_multip-0.3.4-py3-none-any.whl |
Total release size: 11.2 kB
Release files / easy_multip-0.3.4.tar.gz
| Download URL | easy_multip-0.3.4.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e42f00ed8760d162f5b1f73d88be48a4bf7c22453c019ae0eb3f6fbd1b504fc4
|
|
BLAKE2b-256 checksum How to use checksums |
ce68886527522eb0305f8b7198c66bc4191c6312dcc8cf2b8767a81dff9923bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.0
|
Release files / easy_multip-0.3.4-py3-none-any.whl
| Download URL | easy_multip-0.3.4-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb390fd31819951456f365d5ccba5aaafbaf41558e75b27895d1143edbe4c276
|
|
BLAKE2b-256 checksum How to use checksums |
2aedc5cfc2330a37d3f905f59d7b3a10dce47ad978aeaae9fe29e6cb5b5b30bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.0
|
Security for easy-multip 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.