Skip to main content

simple tools

Project description


Tools for creating asynchronous scripts easily.

keywords: tools,asyncio


  • Task pool

  • Actor and Actor Manager


async with AioFixedTaskPoolSimple() as task_pool:
    print(f"test pool size {task_pool.size}")
    print("test 4 task with pool size 3")
    await asyncio.gather(
        task_pool.submit(test, func_args=["c"]),
        task_pool.submit(test, func_args=["b"]),
        task_pool.submit(test, func_args=["a"]),
        task_pool.submit(test, func_args=["d"])

class Pinger(AioActor):
    async def receive(self, message):
            await ActorManager.get_actor("Ponger").Send('ping')
        except Exception as e:
            print(f"receive run error {e}")
            await asyncio.sleep(0.5)


  • python -m pip install aio_parallel_tools


Change Log

version 0.0.1

  • created this project

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aio_parallel_tools-0.0.1.tar.gz (17.2 kB view hashes)

Uploaded source

Built Distribution

aio_parallel_tools-0.0.1-py3-none-any.whl (37.8 kB view hashes)

Uploaded 3 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page