skillfed

asyncio-pool

Pool of asyncio coroutines with familiar interface

asyncio-pool v0.6.0 191.2K downloads/30d#9,886 on PyPI120
Permissive license MIT Abandoned released

What it is and what it does

asyncio-pool provides a simple coroutine pool that enforces a maximum concurrency limit—ensuring no more than a specified number of coroutines execute simultaneously. It wraps the asyncio event loop with a familiar pool interface, allowing you to spawn tasks while the pool queues and schedules them to stay within your concurrency ceiling.

The package is designed for scenarios where you need to throttle async work—preventing resource exhaustion or rate-limit violations when spawning many coroutines. It has no external runtime dependencies and requires Python 3.5 or later. The project is no longer maintained, with the last commit in 2023-08-28 and the final release in 2022-05-21.

Use it for:

  • Limit concurrent HTTP requests in a web scraper or API client to avoid overwhelming a server.
  • Control the number of simultaneous database connections when processing large batches of async queries.
  • Throttle parallel file I/O operations to prevent exhausting system resources.
  • Manage concurrent task execution in a background job processor with bounded parallelism.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Manages a pool of concurrent asyncio coroutines, enforcing a fixed limit on how many can run simultaneously while maintaining a familiar pool interface.

Yes, if you need simple coroutine pooling and can tolerate an unmaintained library. The code is stable with no known vulnerabilities, but expect no fixes for future Python incompatibilities or edge-case bugs. For new projects, consider maintained alternatives; for existing codebases already using it, the low friction and permissive license make it safe to keep.

Install

asyncio-pool on PyPI

pip

pip install asyncio-pool

uv

uv add asyncio-pool

poetry

poetry add asyncio-pool

Installing asyncio-pool

Before you install

Low install friction with no runtime dependencies. However, the project is abandoned—last commit was 2023-08-28 and no release since 2022-05-21. Maintenance has stalled, so bugs and compatibility issues are unlikely to be addressed.

License in practice

MIT license is permissive, allowing use in commercial and private projects with minimal restrictions—only requiring attribution.

Quickstart

pip install asyncio-pool

import asyncio
from asyncio_pool import AioPool

async def main():
    pool = AioPool(size=5)
    # spawn coroutines through the pool

Requires Python 3.5 or later.

Verify before relying

  • Whether the pool handles cancellation and cleanup correctly in edge cases.
  • Compatibility with Python versions beyond 3.7, given the last release was in 2022.
  • Current stability and whether the archived repository status affects long-term usability.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.5)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 1,546 days since the last release
Last repo commit
First released
Downloads 191,235/month — #9,886 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: asyncio_pool-0.6.0-py3-none-any.whl

Framework :: AsyncIOLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Tags

asyncio coroutine poollimit concurrent async tasksasyncio concurrency controlasync task queuecoroutine pool managerbounded asyncio execution
asyncioconcurrency-control

More Application Frameworks packages