Comparison
anyio vs gevent vs trio
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
High-level concurrency and networking framework on top of asyncio or Trio
Actively maintained. Last release 4 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
$
pip install anyioCoroutine-based network library
Actively maintained. Last release 3 months ago, commits in 11 of the last 26 weeks. A safe choice.
$
pip install geventA friendly Python library for async concurrency and I/O
Actively maintained. Last release 4 weeks ago, commits in 24 of the last 26 weeks. A safe choice.
$
pip install trioIn short
- anyio is the most used: 1.1B downloads a month, 28× more than trio.
- Maintenance is comparable: anyio 87, trio 81, gevent 77 on Pythie’s Index.
- anyio is growing fastest: downloads +17% over the last month.
- Safe default for a new project: anyio.