asyncio-pool
Pool of asyncio coroutines with familiar interface
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-pooluv
uv add asyncio-poolpoetry
poetry add asyncio-poolInstalling 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
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
aioprocessingProvides asyncio-compatible wrappers around…
permissive · top 15,000 on PyPI
bounded-pool-executorWraps Python's ProcessPoolExecutor and…
permissive · top 15,000 on PyPI
aiomultiprocessCombines AsyncIO and multiprocessing to run…
permissive · top 5,000 on PyPI
aiofilesProvides non-blocking file I/O for asyncio…
permissive · top 1,000 on PyPI
mode-streamingMode is a minimal asyncio library that lets you…
permissive · top 15,000 on PyPI
asynciolimiterProvides rate limiting for async Python code by…
permissive · top 5,000 on PyPI
aiorwlockProvides read-write locks for asyncio programs,…
permissive · top 5,000 on PyPI
unsyncDecorator-based library that runs async…
permissive · top 15,000 on PyPI
aiolimiterImplements a rate limiter for asyncio using the…
permissive · top 5,000 on PyPI
aiorunProvides a simplified entry point for asyncio…
permissive · top 15,000 on PyPI