python-trio/trio
Trio – a friendly Python library for async concurrency and I/O observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 85
- Longevity 100
Flags: no_license
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: 69
- age_days: 3516
- days_rel: 23
- days_push: 9
- n_releases_24m: 8
Adoption not part of the score
7307 stars · 416 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Trio is a Python library for async/await-native concurrency and I/O, built around structured concurrency principles. It aims for production quality with an obsessive focus on usability and correctness, offering a simpler alternative to asyncio and Twisted.
Use cases
- run many network requests concurrently in Python
- write an async web server or websocket handler
- fetch lots of web pages in parallel with a spider
- supervise multiple subprocesses asynchronously
- replace asyncio with a simpler, safer concurrency model
- manage timeouts and cancellation reliably in async code
When to choose
- you want structured concurrency and sane cancellation semantics
- you're starting a new async Python project and aren't locked into asyncio
- you value correctness and usability in concurrent I/O code
- you need a mature, well-documented async I/O library
When to avoid
- your project or dependencies already depend on asyncio's ecosystem
- you need CPU-bound parallelism rather than concurrent I/O
- you require drop-in asyncio API compatibility
Facets
library · maturity stable
concurrency http-server websocket networking file-system developer-tools networking backend python cross-platform async-await structured-concurrency io asyncio-alternative automation
2 sources
- readme: https://github.com/python-trio/trio · fetched 2026-08-28 · f1aab945b673
- registry_pypi: https://pypi.org/pypi/trio/json · fetched 2026-08-29 · fe9ac8cb037e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| python-trio/trio | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="python-trio/trio")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem