cjm-parallel-utils
================
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
## Install
``` sh
pip install cjm_parallel_utils
```
## How to use
### parallel
``` python
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]
Raw data
{
"_id": null,
"home_page": "https://github.com/cj-mills/cjm-parallel-utils",
"name": "cjm-parallel-utils",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "nbdev jupyter notebook python",
"author": "cj-mills",
"author_email": "millscj.mills2@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/35/42/4debb43387efd0cff3df461e107f9116002f419cbec68fcb6bf13c88123c/cjm-parallel-utils-0.0.1.tar.gz",
"platform": null,
"description": "cjm-parallel-utils\n================\n\n<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->\n\n## Install\n\n``` sh\npip install cjm_parallel_utils\n```\n\n## How to use\n\n### parallel\n\n``` python\nfrom cjm_parallel_utils.core import parallel\nfrom functools import partial\n\ntest_array = list(range(10))\nprint(test_array)\n\ndef test_func(index, array):\n array[index]*=2\n \npartial_func = partial(test_func, array=test_array)\nparallel(partial_func, arr=range(len(test_array)), leave=True);\n\nprint(test_array)\n```\n\n [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\n\n 0%| | 0/10 [00:00<?, ?it/s]\n\n [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]\n",
"bugtrack_url": null,
"license": "Apache Software License 2.0",
"summary": "Utility functions for parallel operations.",
"version": "0.0.1",
"split_keywords": [
"nbdev",
"jupyter",
"notebook",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c8aee4585df2d62287d3a2f81cb2bbdf750d39d3272cf8abd1ec1cc768a00786",
"md5": "c278095a7d5d9d9d0a2dea65ae1b3784",
"sha256": "3d81a7f15c37a08addf0d251b4116dfe4b9d8af0b3a3c00c641a207ac796c9ec"
},
"downloads": -1,
"filename": "cjm_parallel_utils-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c278095a7d5d9d9d0a2dea65ae1b3784",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5580,
"upload_time": "2023-01-24T20:08:05",
"upload_time_iso_8601": "2023-01-24T20:08:05.575983Z",
"url": "https://files.pythonhosted.org/packages/c8/ae/e4585df2d62287d3a2f81cb2bbdf750d39d3272cf8abd1ec1cc768a00786/cjm_parallel_utils-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "35424debb43387efd0cff3df461e107f9116002f419cbec68fcb6bf13c88123c",
"md5": "f1a13da1bfdc596b64522c246159b423",
"sha256": "bda403a5f16ad3e2cce240ee589da27b34c1f2d58e3dfa85c0416c0c1b28cbc7"
},
"downloads": -1,
"filename": "cjm-parallel-utils-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "f1a13da1bfdc596b64522c246159b423",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 5067,
"upload_time": "2023-01-24T20:08:07",
"upload_time_iso_8601": "2023-01-24T20:08:07.269196Z",
"url": "https://files.pythonhosted.org/packages/35/42/4debb43387efd0cff3df461e107f9116002f419cbec68fcb6bf13c88123c/cjm-parallel-utils-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-24 20:08:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "cj-mills",
"github_project": "cjm-parallel-utils",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "cjm-parallel-utils"
}