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.0.0b1.tar.gz (85.1 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.0.0b1-py3-none-any.whl (60.6 kB view details)

Uploaded Python 3

File details

Details for the file anyio-2.0.0b1.tar.gz.

File metadata

  • Download URL: anyio-2.0.0b1.tar.gz
  • Upload date:
  • Size: 85.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for anyio-2.0.0b1.tar.gz
Algorithm Hash digest
SHA256 a208c12fa4474c407cfd92fae2c0c23fe3e587acfdf470e2f9e8098be2ce995a
MD5 fe3fbd7dda3d38710c0be34233fe8b7e
BLAKE2b-256 b43cb42c64124ce8a09c686e9d135c67fdf26b949089cd070c5a54068c712828

See more details on using hashes here.

File details

Details for the file anyio-2.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: anyio-2.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 60.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for anyio-2.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 215983bbc5e5d80a4bc1ab4d35906372c69479d4d97f2c661cd5c872f129498e
MD5 eaaf3dc759783406a5df739b50e7f2bf
BLAKE2b-256 d7575bc44551b0e396a10b0a859d608ffeb70729365bacb2a9c3659ab32e418d

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