aioprocessing
A Python 3.5+ library that integrates the multiprocessing module with asyncio.
Decision gist · record as of 2026-08-14
Yes, if you need to integrate multiprocessing with asyncio and are comfortable with the abandoned maintenance status. The package is stable and has no known vulnerabilities, but you should be aware it will not receive updates for new Python versions or bug fixes. For new projects, consider whether a pure-async alternative might better suit your needs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.5 or later.
- Thread-fork mixing caveats apply when combining with multiprocessing; coroutines cannot be cancelled since work in executor threads cannot be interrupted.
- Installation is straightforward with no runtime dependencies.
License · maintenance · safety
permissive license (permissive) — Licensed under BSD (permissive), which allows free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2022-09-15 (1429 days) · last repo commit 2022-09-16 · 659 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,327 downloads/mo, #11,440 on PyPI
Alternatives
Verify before relying
pip install aioprocessing
import asyncio
import aioprocessing
async def main():
queue = aioprocessing.AioQueue()
lock = aioprocessing.AioLock()
result = await queue.coro_get()
async with lock:
await queue.coro_put(None)
asyncio.run(main())- Whether the package is actively maintained or if there are known issues with modern Python versions.
- Performance overhead compared to native multiprocessing in typical workloads.
- Compatibility with concurrent.futures.ProcessPoolExecutor when using the dill extra.
What it is and what it does
aioprocessing wraps the standard library's multiprocessing module to make its blocking methods awaitable in asyncio code. Instead of reimplementing multiprocessing with async I/O, it delegates blocking calls to a ThreadPoolExecutor, allowing you to use familiar multiprocessing APIs (Queue, Lock, Process, Pool, Semaphore, Barrier, etc.) inside async coroutines without blocking the event loop.
The library adds a coroutine version of each blocking method—for example, `Lock.acquire()` becomes `AioLock.coro_acquire()`—and provides Aio-prefixed classes that drop into existing multiprocessing code. It also supports optional universal pickling via dill for cases where the standard pickle module is insufficient. This is useful when you need inter-process communication or worker pools within an asyncio application, though it introduces thread overhead and inherits the thread-fork mixing risks of the underlying multiprocessing module.
Use it for
- Running CPU-bound worker processes from an async web framework without blocking the event loop.
- Coordinating multiple processes using asyncio-compatible locks, events, and queues in a single async application.
- Building async task queues that dispatch work to separate processes while maintaining async/await syntax.
- Mixing asyncio coroutines with multiprocessing Pool callbacks in a unified async control flow.
- Implementing inter-process synchronization primitives (Barrier, Condition) in async code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to integrate multiprocessing with asyncio and are comfortable with the abandoned maintenance status.
The package is stable and has no known vulnerabilities, but you should be aware it will not receive updates for new Python versions or bug fixes. For new projects, consider whether a pure-async alternative might better suit your needs.
Install
aioprocessing on PyPI
Before you install
Installation is straightforward with no runtime dependencies. However, the package is in abandoned maintenance status with the last commit in September 2022. It remains functional for its stated purpose but will not receive bug fixes or updates.
Requires Python 3.5 or later. Thread-fork mixing caveats apply when combining with multiprocessing; coroutines cannot be cancelled since work in executor threads cannot be interrupted.
License in practice
Licensed under BSD (permissive), which allows free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install aioprocessing
import asyncio
import aioprocessing
async def main():
queue = aioprocessing.AioQueue()
lock = aioprocessing.AioLock()
result = await queue.coro_get()
async with lock:
await queue.coro_put(None)
asyncio.run(main())
Verify before relying
- Whether the package is actively maintained or if there are known issues with modern Python versions.
- Performance overhead compared to native multiprocessing in typical workloads.
- Compatibility with concurrent.futures.ProcessPoolExecutor when using the dill extra.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.5 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,429 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 135,327 / month, #11,440 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python Modules |
Evidence: aioprocessing-2.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “asyncio multiprocessing integration”
- aioprocessingProvides asyncio-compatible wrappers around multiprocessing objects…
- aiomultiprocessCombines AsyncIO and multiprocessing to run concurrent async tasks…
- pypelnPypeln lets you build concurrent data pipelines using processes,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also aiomultiprocess · asyncio · asyncio-pool · mode-streaming · molotov · threaded · bounded-pool-executor · blockbuster · aioshutil · mpire