--- id: anyio version: "4.14.2" license: MIT license_treatment: permissive maintenance: active --- # anyio — High-level concurrency and networking framework on top of asyncio or Trio License: permissive · Maintenance: active · Popularity: top 100 on PyPI ## Install pip install anyio uv add anyio poetry add anyio ## Description .. image:: https://github.com/agronholm/anyio/actions/workflows/test.yml/badge.svg :target: https://github.com/agronholm/anyio/actions/workflows/test.yml :alt: Build Status .. image:: https://coveralls.io/repos/github/agronholm/anyio/badge.svg?branch=master :target: https://coveralls.io/github/agronholm/anyio?branch=master :alt: Code Coverage .. image:: https://readthedocs.org/projects/anyio/badge/?version=latest :target: https://anyio.readthedocs.io/en/latest/?badge=latest :alt: Documentation .. image:: https://badges.gitter.im/gitterHQ/gitter.svg :target: https://gitter.im/python-trio/AnyIO :alt: Gitter chat .. image:: https://tidelift.com/badges/package/pypi/anyio :target: https://tidelift.com/subscription/pkg/pypi-anyio :alt: Tidelift AnyIO is an asynchronous networking and concurrency library that works on top of either asyncio_ or Trio_. It implements Trio-like `structured concurrency`_ (SC) on top of asyncio and works in harmony with the native SC of Trio itself. Applications and libraries written against AnyIO's API will run unmodified on either asyncio_ or Trio_. AnyIO can also be adopted into a library or application incrementally – bit by bit,... ## AI interpretation — verify before relying AnyIO is an asynchronous networking and concurrency library that provides a unified API across asyncio and Trio backends, enabling structured concurrency patterns like task groups, high-level networking (TCP, UDP, UNIX sockets), and inter-task synchronization. Verdict: AnyIO is a production-stable, actively maintained library in the top 100 PyPI packages with no known vulnerabilities. Its permissive MIT license, low install friction, and broad Python version support (3.10–3.15) make it a reliable choice for building cross-backend async applications. [View on SkillFed](https://skillfed.io/packages/anyio) · [View on PyPI](https://pypi.org/project/anyio/)