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.4.0

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.4.0.tar.gz (59.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-1.4.0-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anyio-1.4.0.tar.gz
  • Upload date:
  • Size: 59.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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.8

File hashes

Hashes for anyio-1.4.0.tar.gz
Algorithm Hash digest
SHA256 95f60964fc4583f3f226f8dc275dfb02aefe7b39b85a999c6d14f4ec5323c1d8
MD5 bda9c1932bb8a0ef0d928a5febf19e17
BLAKE2b-256 f5e089a41cee01de43fe6f0ce4968424b66f88a78c85965114cff3286b71aa8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anyio-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 36.8 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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.8

File hashes

Hashes for anyio-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ee67e8131853f42957e214d4531cee6f2b66dda164a298d9686a768b7161a4f
MD5 5920ff6c0f3215f336a313431667ed3f
BLAKE2b-256 c35fad80678e9ed82f8c4236a108b203b1aeb05f8d5de66b9b7bbed8e3255eaf

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