cjm-parallel-utils
Install
pip install cjm_parallel_utils
How to use
parallel
from cjm_parallel_utils.core import parallel
from functools import partial
test_array = list(range(10))
print(test_array)
def test_func(index, array):
array[index]*=2
partial_func = partial(test_func, array=test_array)
parallel(partial_func, arr=range(len(test_array)), leave=True);
print(test_array)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
0%| | 0/10 [00:00<?, ?it/s]
[0, 2, 4, 6, 8, 10, 12, 14, 16, 18]
Metadata
Release files for cjm-parallel-utils 0.0.1
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 | |
|---|---|---|---|---|
| cjm-parallel-utils-0.0.1.tar.gz | 5.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cjm_parallel_utils-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / cjm-parallel-utils-0.0.1.tar.gz
| Download URL | cjm-parallel-utils-0.0.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bda403a5f16ad3e2cce240ee589da27b34c1f2d58e3dfa85c0416c0c1b28cbc7
|
|
BLAKE2b-256 checksum How to use checksums |
35424debb43387efd0cff3df461e107f9116002f419cbec68fcb6bf13c88123c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.15
|
Release files / cjm_parallel_utils-0.0.1-py3-none-any.whl
| Download URL | cjm_parallel_utils-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d81a7f15c37a08addf0d251b4116dfe4b9d8af0b3a3c00c641a207ac796c9ec
|
|
BLAKE2b-256 checksum How to use checksums |
c8aee4585df2d62287d3a2f81cb2bbdf750d39d3272cf8abd1ec1cc768a00786
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.15
|
Security for cjm-parallel-utils 0.0.1
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.