{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/18"}],"enrichment":{"capability":"Provides asyncio-compatible wrappers around multiprocessing objects (Queue, Lock, Process, Pool, etc.) so their blocking methods can be awaited in async code without freezing the event loop.","skillfed_tags":["async-multiprocessing","process-coordination"],"use_cases":["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."],"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.\n\nThe library adds a coroutine version of each blocking method\u2014for example, `Lock.acquire()` becomes `AioLock.coro_acquire()`\u2014and 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.","worth_installing":"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."},"id":"aioprocessing","links":{"html":"https://skillfed.io/packages/aioprocessing","md":"https://skillfed.io/packages/aioprocessing.md","pypi":"https://pypi.org/project/aioprocessing/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-09-15","license_spdx":null,"license_treatment":"permissive","name":"aioprocessing","python_support":"supports_current","summary":"A Python 3.5+ library that integrates the multiprocessing module with asyncio."},"popularity":{"monthly_downloads":135327,"position":11440,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.1"}
