agronholm/anyio
High level asynchronous concurrency and networking framework that works on top of either Trio or asyncio observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 80
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 33.0
- age_days: 2936
- days_rel: 52
- days_push: 8
- n_releases_24m: 17
Adoption not part of the score
2537 stars · 247 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
AnyIO is a high-level asynchronous concurrency and networking library for Python that runs on top of either asyncio or Trio. It provides Trio-style structured concurrency, task groups, async networking primitives, and a pytest plugin, letting code run unmodified on either async backend.
Use cases
- write async python code that works on both asyncio and trio
- structured concurrency with task groups in asyncio
- async tcp and udp socket networking
- run async tests with pytest and async fixtures
- async file io and subprocess handling
- migrate a library from asyncio to trio incrementally
When to choose
- you need backend-agnostic async code portable across asyncio and trio
- you want trio-like structured concurrency on asyncio
- you need high-level async networking, streams, and synchronization primitives
- you want async pytest testing with hypothesis support
When to avoid
- you only target one backend and are happy with its native APIs
- you need a full web framework rather than a concurrency library
- you work outside the Python ecosystem
Facets
library · maturity stable
concurrency networking testing http-server developer-tools backend networking apis python cross-platform asyncio trio structured-concurrency async-await task-groups pytest-plugin
2 sources
- readme: https://github.com/agronholm/anyio · fetched 2026-08-28 · 050db7ea42de
- registry_pypi: https://pypi.org/pypi/anyio/json · fetched 2026-08-29 · 7d014b3b4b2a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| agronholm/anyio | main | 93 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem