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.0.tar.gz (44.4 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.0-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anyio-1.0.0.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for anyio-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0f47b5ea774cc9d403935c617ff27c7673f87cda0688cd1aab3137ac86283a68
MD5 2a3bdf860934a2027c77131340fbeafa
BLAKE2b-256 19b24547c09f31a6b9f79586f3642cf761696c1f5dbda4c2eb7dabe60d09faab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anyio-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for anyio-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49059434c06dbfa472d972edb366497e2400ada668643c3ae89e450ce114334e
MD5 602caccdacc3a563edbfcae4e4a64dbb
BLAKE2b-256 8984ea81db44cad7ecb944a2b584c6838c08cf4737d568b0cbd2583777d8024c

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