Comparison
anyio vs curio vs duet vs gevent
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 anyioCurio
Archived. The repository is read-only: no more fixes or releases will come.
pip install curioA simple future-based async library for python.
Maintained. Last release 4 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install duetCoroutine-based network library
Actively maintained. Last release 3 months ago, commits in 11 of the last 26 weeks. A safe choice.
pip install geventIn short
- curio is archived: avoid it for new projects.
- anyio is the most used: 1.1B downloads a month, 40× more than gevent.
- Maintenance is comparable: anyio 87, gevent 77, duet 48 on Pythie’s Index.
- duet is growing fastest: downloads +36% over the last month.
- Safe default for a new project: anyio.