
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
asyncio-contextmanager
Advanced tools
Decorator that turns async generator functions into async context managers.
|PyPI version| |GitHub release| |Build Status| |codecov| |GitHub license|
Decorator that turns async generator functions into async context managers.
Supported versions of python: 3.6+
(since async generators were
introduced in python 3.6)
.. code:: shell
pip install asyncio-contextmanager
Usage is straightforward and simple:
.. code:: python
from aiocontext import async_contextmanager
@async_contextmanager
async def foo():
yield 'Foo!'
.. |PyPI version| image:: https://badge.fury.io/py/asyncio-contextmanager.svg :target: https://badge.fury.io/py/asyncio-contextmanager .. |GitHub release| image:: https://img.shields.io/github/release/sashgorokhov/asyncio-contextmanager.svg :target: https://github.com/sashgorokhov/asyncio-contextmanager .. |Build Status| image:: https://travis-ci.org/sashgorokhov/asyncio-contextmanager.svg?branch=master :target: https://travis-ci.org/sashgorokhov/asyncio-contextmanager .. |codecov| image:: https://codecov.io/gh/sashgorokhov/asyncio-contextmanager/branch/master/graph/badge.svg :target: https://codecov.io/gh/sashgorokhov/asyncio-contextmanager .. |GitHub license| image:: https://img.shields.io/badge/license-MIT-blue.svg :target: https://raw.githubusercontent.com/sashgorokhov/asyncio-contextmanager/master/LICENSE
FAQs
Decorator that turns async generator functions into async context managers.
We found that asyncio-contextmanager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.