{ "info": { "author": "Ismail Uddin", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# parallelize\n\n\n\n[![Documentation Status](https://readthedocs.org/projects/parallelize/badge/?version=latest)](https://parallelize.readthedocs.io/en/latest/?badge=latest)\n![AUR](https://img.shields.io/aur/license/yaourt.svg)\n[![CircleCI](https://circleci.com/gh/ismailuddin/parallelize.svg?style=svg)](https://circleci.com/gh/ismailuddin/parallelize)\n\n`parallelize` is a Python package to simplify the process of parallelising your taks in Python. It takes advantage of the `multiprocessing` module to spawn new processes for your job.\n\n### Requirements\n- Python 3.X\n\n### Installation\nTo install `parallelize`, you can either install from the source code or using `pip`.\n\nTo install from source code, first clone the repository. Then, run `python setup.py install` in the root directory.\n\n### Documentation\nTo build the documentation, run `make html` inside the `docs/` folder. The documention will be found in the `docs/build/html` directory. Alternatively, view documentation [here](https://parallelize.readthedocs.io).\n\n### Usage\n\nTo parallelise a task in Python, you should wrap the entire code inside a function and have the first argument of your function receive the iterable your function will be operating over.\n\n```python\n>>> from parallelize import parallelize\n>>> def foo(iterable: list) -> int:\n... output = 0\n... for i in iterable:\n... output = i**4\n... return output\n\n>>> numbers = list(range(50000000))\n>>> %time foo(numbers)\nWall time: 21.5 s\n>>> parallelize.parallel(foo, numbers, 6)\nCompleted 'parallel' in 6.2743 secs\n```\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ismailuddin/parallelize", "keywords": "", "license": "GNU", "maintainer": "", "maintainer_email": "", "name": "pyparallelize", "package_url": "https://pypi.org/project/pyparallelize/", "platform": "", "project_url": "https://pypi.org/project/pyparallelize/", "project_urls": { "Homepage": "https://github.com/ismailuddin/parallelize" }, "release_url": "https://pypi.org/project/pyparallelize/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Package to simplify process of parallelising tasks", "version": "0.1.0" }, "last_serial": 4802117, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7941f79e8dc072eb231bcb40d4b53fa5", "sha256": "2d5502f587a9b1d3bbd629626a5db0312189a835c0667c5345c003dfdbd6ae70" }, "downloads": -1, "filename": "pyparallelize-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7941f79e8dc072eb231bcb40d4b53fa5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5208, "upload_time": "2019-02-10T12:58:10", "url": "https://files.pythonhosted.org/packages/cd/b5/1fb39428fade37089774b96dd4cd03d23bdeefdae460f9b29a88ce095014/pyparallelize-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f40578edb848684ad4e76fac8bb13af", "sha256": "5a2e4195fde08af9de89511516bce3d7193d16c78388a1eed8b6f6c85e5929e1" }, "downloads": -1, "filename": "pyparallelize-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2f40578edb848684ad4e76fac8bb13af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4405, "upload_time": "2019-02-10T12:58:11", "url": "https://files.pythonhosted.org/packages/53/56/1abfc63f78719372103619f51b8269513294a4bcb54b2726b6281e718848/pyparallelize-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7941f79e8dc072eb231bcb40d4b53fa5", "sha256": "2d5502f587a9b1d3bbd629626a5db0312189a835c0667c5345c003dfdbd6ae70" }, "downloads": -1, "filename": "pyparallelize-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7941f79e8dc072eb231bcb40d4b53fa5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5208, "upload_time": "2019-02-10T12:58:10", "url": "https://files.pythonhosted.org/packages/cd/b5/1fb39428fade37089774b96dd4cd03d23bdeefdae460f9b29a88ce095014/pyparallelize-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f40578edb848684ad4e76fac8bb13af", "sha256": "5a2e4195fde08af9de89511516bce3d7193d16c78388a1eed8b6f6c85e5929e1" }, "downloads": -1, "filename": "pyparallelize-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2f40578edb848684ad4e76fac8bb13af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4405, "upload_time": "2019-02-10T12:58:11", "url": "https://files.pythonhosted.org/packages/53/56/1abfc63f78719372103619f51b8269513294a4bcb54b2726b6281e718848/pyparallelize-0.1.0.tar.gz" } ] }