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

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.2.tar.gz (53.2 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.2-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anyio-1.2.2.tar.gz
  • Upload date:
  • Size: 53.2 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.2.tar.gz
Algorithm Hash digest
SHA256 b42410c903530d4f62ce0a3cab1bbc8a34ab9f0d8d17e9ed25e8f473fe592114
MD5 f611ae400de6adc37d5940da41b519be
BLAKE2b-256 aaadfd698afb4ccee15a04e47ee9a2907fcc322649c9801891594a61e564c90b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anyio-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 45.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c2d831de74bbaa39c89f91db2d931a6ae8119547b73a133337a95f8dbfe93656
MD5 f8da64caba9b38e8f15a8a21365344c5
BLAKE2b-256 a22494daa4d82120395a86d13bfadfc0e654bb611e4b9322c05eef14cdd5cb30

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