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.3.1.tar.gz (56.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.3.1-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anyio-1.3.1.tar.gz
  • Upload date:
  • Size: 56.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for anyio-1.3.1.tar.gz
Algorithm Hash digest
SHA256 a46bb2b7743455434afd9adea848a3c4e0b7321aee3e9d08844b11d348d3b5a0
MD5 794cecafad7165175f4a43faccde57a3
BLAKE2b-256 44ebc5f29a8c854cf454cb995dc791152c641eb8948b2d71cb30e233eb262c53

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anyio-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for anyio-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f21b4fafeec1b7db81e09a907e44e374a1e39718d782a488fdfcdcf949c8950c
MD5 57e0ae61a977af56b5e6a9b52a6770bf
BLAKE2b-256 abc217b5c64a1a92c5dbd7ab3fd24c4db4332aa78ebe132e54136d1bc5eb1bd5

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