{"library":"contextlib2","type":"library","category":null,"description":"Contextlib2 provides backports and enhancements for Python's standard `contextlib` module, offering features like `ExitStack` and `asynccontextmanager` to older Python versions. The current version is 21.6.0, released in June 2021. The project appears to be in maintenance mode, as most of its key features are now integrated into the standard library for Python versions 3.7 and newer.","language":"python","status":"maintenance","version":"21.6.0","tags":["context-manager","backport","utility","async"],"last_verified":"Sat May 23","install":[{"cmd":"pip install contextlib2","imports":["from contextlib2 import ExitStack","from contextlib2 import contextmanager","from contextlib2 import suppress","from contextlib2 import redirect_stdout","from contextlib2 import asynccontextmanager"]}],"homepage":"http://contextlib2.readthedocs.org","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/contextlib2/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/contextlib2/compatibility"}}