--- id: async-timeout version: "5.0.1" license: Apache 2 license_treatment: permissive maintenance: abandoned --- # async-timeout — Timeout context manager for asyncio programs License: permissive · Maintenance: abandoned · Popularity: top 1,000 on PyPI ## Install pip install async-timeout uv add async-timeout poetry add async-timeout ## Description async-timeout ============= .. image:: https://travis-ci.com/aio-libs/async-timeout.svg?branch=master :target: https://travis-ci.com/aio-libs/async-timeout .. image:: https://codecov.io/gh/aio-libs/async-timeout/branch/master/graph/badge.svg :target: https://codecov.io/gh/aio-libs/async-timeout .. image:: https://img.shields.io/pypi/v/async-timeout.svg :target: https://pypi.python.org/pypi/async-timeout .. image:: https://badges.gitter.im/Join%20Chat.svg :target: https://gitter.im/aio-libs/Lobby :alt: Chat on Gitter asyncio-compatible timeout context manager. DEPRECATED ---------- This library has effectively been upstreamed into Python 3.11+. Therefore this library is considered deprecated and no longer actively supported. Version 5.0+ provides dual-mode when executed on Python 3.11+: ``asyncio_timeout.Timeout`` is fully compatible with ``asyncio.Timeout`` *and* old versions of the library. Anyway, using upstream is highly recommended. ``asyncio_timeout`` exists only for the sake of backward compatibility, easy supporting both old and new Python by the same code, and easy misgration. If rescheduling API is not important and only ``async with... ## AI interpretation — verify before relying Provides an asyncio-compatible timeout context manager for cancelling async operations after a specified delay, now deprecated in favor of Python 3.11+'s built-in asyncio.Timeout. Verdict: async-timeout is a stable, dependency-free timeout utility now superseded by Python 3.11's built-in asyncio.Timeout. The package is abandoned and no longer maintained, so it should only be used for backward compatibility when supporting older Python versions or existing codebases. New projects should prefer the standard library equivalent. [View on SkillFed](https://skillfed.io/packages/async-timeout) · [View on PyPI](https://pypi.org/project/async-timeout/)