Skip to main content

High level compatibility layer for multiple asynchronous event loop implementations

Project description

Build Status Code Coverage Documentation

AnyIO is a asynchronous compatibility API that allows applications and libraries written against it to run unmodified on asyncio, curio and trio.

It bridges the following functionality:

  • Task groups

  • Cancellation

  • Threads

  • Signal handling

  • Asynchronous file I/O

  • Synchronization primitives (locks, conditions, events, semaphores, queues)

  • High level networking (TCP, UDP and UNIX sockets)

You can even use it together with native libraries from your selected backend in applications. Doing this in libraries is not advisable however since it limits the usefulness of your library.

AnyIO comes with its own pytest plugin which also supports asynchronous fixtures. It even works with the popular Hypothesis library.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anyio-1.0.0rc2.tar.gz (45.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anyio-1.0.0rc2-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file anyio-1.0.0rc2.tar.gz.

File metadata

  • Download URL: anyio-1.0.0rc2.tar.gz
  • Upload date:
  • Size: 45.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for anyio-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 435598c7fe71598168d4769772207485eaa600231a71228b30c1194430cfed76
MD5 58242735de3c20b6534fc8571973fa7a
BLAKE2b-256 e413f3838c9c3e505ff88bdb58698567d010152906e29b2d8fd1ff2705e33843

See more details on using hashes here.

File details

Details for the file anyio-1.0.0rc2-py3-none-any.whl.

File metadata

  • Download URL: anyio-1.0.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for anyio-1.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 6690f484674c0fdcce9a30a12107b9d6e41f8e5b7ce9c97b0e747af5f57ba22b
MD5 de98500ae4b8c6da3c7da93c2b46ca68
BLAKE2b-256 de9dbc3ed557681ac913d591c342855bd1a93224fa746308900a21bbb07ad564

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page