{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/17"}],"enrichment":{"capability":"Provides AsyncExitStack, a backport of Python 3.7's asynchronous context manager for combining and cleaning up both sync and async context managers in async code.","skillfed_tags":["backport","legacy-python","async-utilities"],"use_cases":["Managing multiple database or network connections in async code on Python 3.5\u20133.6 with automatic cleanup.","Registering async cleanup handlers (e.g., closing resources) that must run even if earlier setup steps fail.","Combining both sync and async context managers in a single async with block on older Python versions.","Porting async code from Python 3.7+ back to Python 3.5\u20133.6 without rewriting resource management logic."],"what_it_does":"AsyncExitStack is a backport of Python 3.7's asynchronous context manager from the standard library, extracted into a standalone package for use on Python 3.5 and 3.6. It allows you to combine multiple async context managers and register async cleanup callbacks within a single async with block, ensuring resources are properly released even if exceptions occur during setup.\n\nThe package is essentially a copy of CPython's implementation and provides the same API as the standard library version: enter_async_context() to register async context managers, push_async_callback() to register coroutine cleanup handlers, and aclose() to trigger cleanup. It is most useful as a compatibility shim for older Python versions; modern projects targeting Python 3.7+ should use the built-in contextlib.AsyncExitStack instead.","worth_installing":"No, unless you are maintaining legacy code on Python 3.5 or 3.6. The package is abandoned and receives no updates. Modern Python versions (3.7+) include AsyncExitStack in the standard library; use that instead. If you must support older Python, this backport works but carries no active maintenance risk mitigation."},"id":"async-exit-stack","links":{"html":"https://skillfed.io/packages/async-exit-stack","md":"https://skillfed.io/packages/async-exit-stack.md","pypi":"https://pypi.org/project/async-exit-stack/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2018-05-07","license_spdx":null,"license_treatment":"permissive","name":"async-exit-stack","python_support":"supports_current","summary":"AsyncExitStack backport for Python 3.5+"},"popularity":{"monthly_downloads":88016,"position":13754,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.1"}
