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

This version

1.2.3

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.2.3.tar.gz (52.8 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.2.3-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anyio-1.2.3.tar.gz
  • Upload date:
  • Size: 52.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5

File hashes

Hashes for anyio-1.2.3.tar.gz
Algorithm Hash digest
SHA256 78db97333af17381cadd2cc0dbd3d4e0258e4932368eab8895cb65a269db054e
MD5 b3bbbd5f0fb7a69d82422adfab6f82ad
BLAKE2b-256 029b2797fa4c6e2745a43bed098c370de6df07493c6bc020b2a285929c470982

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anyio-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5

File hashes

Hashes for anyio-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2b758634cf1adc3589937d91f6736b3696d091c1485a10c9cc3f1bd5e6d96813
MD5 e56df2d98717a85199df6929a835855c
BLAKE2b-256 a66d828245bd3a5f065200a8d28fa531a49d6e4fe2bbb3193299710581348bae

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