معرفی شرکت ها


async-exit-stack-1.0.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

AsyncExitStack backport for Python 3.5+
ویژگی مقدار
سیستم عامل -
نام فایل async-exit-stack-1.0.1
نام async-exit-stack
نسخه کتابخانه 1.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Davide Rizzo
ایمیل نویسنده sorcio@gmail.com
آدرس صفحه اصلی https://github.com/sorcio/async_exit_stack
آدرس اینترنتی https://pypi.org/project/async-exit-stack/
مجوز Python Software Foundation License
.. role:: python(code) :language: python .. image:: https://img.shields.io/pypi/v/async_exit_stack.svg :target: https://pypi.python.org/pypi/async_exit_stack .. image:: https://img.shields.io/travis/sorcio/async_exit_stack.svg :target: https://travis-ci.org/sorcio/async_exit_stack ======================================= AsyncExitStack backport for Python 3.5+ ======================================= * Free software: PSF license * Documentation: https://docs.python.org/3.7/library/contextlib.html#contextlib.AsyncExitStack This package contains code from the CPython project. Install ------- :: pip install async_exit_stack Usage example ------------- .. code:: python from async_exit_stack import AsyncExitStack async def some_async_function(): async with AsyncExitStack() as stack: connections = [await stack.enter_async_context(get_connection()) for i in range(5)] # All opened connections will automatically be released at the end of # the async with statement, even if attempts to open a connection # later in the list raise an exception. Reference --------- Refer to `Python 3.7 contextlib documentation <https://docs.python.org/3.7/library/contextlib.html#contextlib.AsyncExitStack>`_ for a complete reference and more context. `class AsyncExitStack`:python: An asynchronous context manager, similar to ExitStack, that supports combining both synchronous and asynchronous context managers, as well as having coroutines for cleanup logic. The close() method is not implemented, aclose() must be used instead. `enter_async_context(cm)`:python: Similar to enter_context() but expects an asynchronous context manager. `push_async_exit(exit)`:python: Similar to push() but expects either an asynchronous context manager or a coroutine. `push_async_callback(callback, *args, **kwds)`:python: Similar to callback() but expects a coroutine. `aclose()`:python: Similar to close() but properly handles awaitables. ======= History ======= 1.0.0 (2018-05-07) ------------------ * First release based on Python 3.7b4.


زبان مورد نیاز

مقدار نام
>=3.5 Python


نحوه نصب


نصب پکیج whl async-exit-stack-1.0.1:

    pip install async-exit-stack-1.0.1.whl


نصب پکیج tar.gz async-exit-stack-1.0.1:

    pip install async-exit-stack-1.0.1.tar.gz