{"id":22261543,"url":"https://github.com/codingvangogh/parallelization3","last_synced_at":"2025-07-13T14:34:15.781Z","repository":{"id":57453440,"uuid":"88144384","full_name":"CodingVanGogh/parallelization3","owner":"CodingVanGogh","description":"Parallelization library for python3","archived":false,"fork":false,"pushed_at":"2017-09-29T05:44:17.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T00:07:31.297Z","etag":null,"topics":["multithreading","parallel-computing","parallelization","python","python3","thread"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodingVanGogh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-13T08:46:52.000Z","updated_at":"2018-01-30T02:24:11.000Z","dependencies_parsed_at":"2022-08-29T08:41:53.719Z","dependency_job_id":null,"html_url":"https://github.com/CodingVanGogh/parallelization3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodingVanGogh/parallelization3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingVanGogh%2Fparallelization3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingVanGogh%2Fparallelization3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingVanGogh%2Fparallelization3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingVanGogh%2Fparallelization3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodingVanGogh","download_url":"https://codeload.github.com/CodingVanGogh/parallelization3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingVanGogh%2Fparallelization3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265156113,"owners_count":23719661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["multithreading","parallel-computing","parallelization","python","python3","thread"],"created_at":"2024-12-03T09:13:15.417Z","updated_at":"2025-07-13T14:34:15.725Z","avatar_url":"https://github.com/CodingVanGogh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parallelization for python3\n\nThis is a generic package for parallelization using Threads and Processes\n\n##### Install using pip \n\n* pip install plmap3\n\n##### Install from the source\n* Download the source  : git clone https://github.com/CodingVanGogh/parallelization3\n* cd parallelization\n* python setup.py install\n\n#### Example Usage\n\n```python\ndef add(a, b):     # Function to be called parallely\n    return a + b\n```\n\n```python\ninput = [ [2, 3], [4, 5], [10, 11] ]  # Set of inputs to the add function\n```\n\n* Parallelization using Multi-Threading\n    ``` python\n        from plmap import plmapt\n        errors, outputs = plmapt(add, input, [], 3, None) \n    ```\n    ``` python\n        errors :  [('0', 'None'), ('0', 'None'), ('0', 'None')]\n        # [ ('\u003cerror_code\u003e', '\u003cerror_description\u003e') ..... ]\n        \n        outputs : [5, 9, 21]\n        # [ \u003coutput for the first set of inputs\u003e, \u003coutput for the second set of inputs\u003e , ..... ]\n    ```\n* Parallelization using Multi-Processing\n    ``` python\n        from plmap import plmapp\n        errors, outputs = plmapp(add, input, [], 3, None) \n    ```\n    ``` python\n        errors :  [('0', 'None'), ('0', 'None'), ('0', 'None')]\n        # [ ('\u003cerror_code\u003e', '\u003cerror_description\u003e') ..... ]\n        \n        outputs : [5, 9, 21]\n        # [ \u003coutput for the first set of inputs\u003e, \u003coutput for the second set of inputs\u003e , ..... ]\n    ```\n\n        \n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingvangogh%2Fparallelization3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingvangogh%2Fparallelization3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingvangogh%2Fparallelization3/lists"}