{"id":20613875,"url":"https://github.com/python-tools/aio_parallel_tools","last_synced_at":"2026-03-19T16:43:06.727Z","repository":{"id":36038556,"uuid":"218538965","full_name":"Python-Tools/aio_parallel_tools","owner":"Python-Tools","description":"异步并行工具","archived":false,"fork":false,"pushed_at":"2022-07-06T20:22:25.000Z","size":1472,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T15:19:54.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/Python-Tools.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":"2019-10-30T13:52:35.000Z","updated_at":"2019-11-11T15:27:25.000Z","dependencies_parsed_at":"2022-07-15T20:00:48.218Z","dependency_job_id":null,"html_url":"https://github.com/Python-Tools/aio_parallel_tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python-Tools%2Faio_parallel_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python-Tools%2Faio_parallel_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python-Tools%2Faio_parallel_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python-Tools%2Faio_parallel_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Python-Tools","download_url":"https://codeload.github.com/Python-Tools/aio_parallel_tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242268596,"owners_count":20100067,"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":[],"created_at":"2024-11-16T11:11:18.225Z","updated_at":"2026-03-12T14:13:00.024Z","avatar_url":"https://github.com/Python-Tools.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to aio parallel tools's documentation\n\n+ version: 0.0.1\n+ status: dev\n+ author: huangsizhe\n+ email: hsz1273327@gmail.com\n\n\n## Desc\n\nTools for creating asynchronous scripts easily.\n\nkeywords: tools,asyncio\n\n\n## Feature\n\n+ Task pool \n+ Actor and Actor Manager\n\n\n## Example\n\n```python\nasync with AioFixedTaskPoolSimple() as task_pool:\n    print(f\"test pool size {task_pool.size}\")\n    print(\"test 4 task with pool size 3\")\n    await asyncio.gather(\n        task_pool.submit(test, func_args=[\"c\"]),\n        task_pool.submit(test, func_args=[\"b\"]),\n        task_pool.submit(test, func_args=[\"a\"]),\n        task_pool.submit(test, func_args=[\"d\"])\n    )\n\nclass Pinger(AioActor):\n    async def receive(self, message):\n        print(message)\n        try:\n            await ActorManager.get_actor(\"Ponger\").Send('ping')\n        except Exception as e:\n            print(f\"receive run error {e}\")\n        finally:\n            await asyncio.sleep(0.5)\n```\n\n## Install\n\n`python -m pip install aio_parallel_tools`\n\n\n## Document\n\n\u003chttps://python-tools.github.io/aio_parallel_tools/\u003e\n\n\n## Change Log\n\n\n### version 0.0.1\n\n+ created this project","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-tools%2Faio_parallel_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-tools%2Faio_parallel_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-tools%2Faio_parallel_tools/lists"}