Skip to main content

High level compatibility layer for multiple asynchronous event loop implementations

Project description

Build Status Code Coverage Documentation Gitter chat

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

  • Subprocesses

  • Inter-task synchronization and communication (locks, conditions, events, semaphores, object streams)

  • 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-2.2.0.tar.gz (97.2 kB view details)

Uploaded Source

Built Distribution

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

anyio-2.2.0-py3-none-any.whl (65.3 kB view details)

Uploaded Python 3

File details

Details for the file anyio-2.2.0.tar.gz.

File metadata

  • Download URL: anyio-2.2.0.tar.gz
  • Upload date:
  • Size: 97.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for anyio-2.2.0.tar.gz
Algorithm Hash digest
SHA256 4a41c5b3a65ed92e469d51b6fba3779301850ea2e352afcf9e36c46f21ee14a9
MD5 54b64703b3d8433336a556102150c2f9
BLAKE2b-256 d3e6901a94731af20e7109415525666cb3753a2bd1edd19616c2730448dffd0d

See more details on using hashes here.

File details

Details for the file anyio-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: anyio-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 65.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for anyio-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa3da546ed17f097ca876c78024dea380a3b7fa80759abfdda59f12176a3dac8
MD5 ee1f1fd2cfd9523f5cf0bfe9711baf33
BLAKE2b-256 49c3b83a3c02c7d6f66932e9a72621d7f207cbfd2bd72b4c8931567ee386fb55

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