Apocrypha

anyio

Compatibility layer for multiple asynchronous event loop implementations

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 Subprocesses Inter-task synchronization and communication (locks, conditions, events, semaphores, object streams) 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.

Available in

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvalphaarmhppaloongmipsppcs390sparc Committed
4.14.2 gentoo amd64 testing arm64 testing x86 testing ppc64 testing riscv testing alpha testing arm testing hppa testing loong testing mips testing ppc testing s390 testing sparc testing view · download · history ↗
4.13.0 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable hppa testing loong testing mips testing ppc stable s390 testing sparc testing view · download · history ↗
4.13.0 ha-bleeding-edge amd64 stable arm64 stable x86 stable ppc64 untested riscv untested alpha untested arm stable hppa untested loong untested mips untested ppc untested s390 untested sparc untested 2 mo view · download · history ↗
4.9.0 HomeAssistantRepository amd64 stable arm64 stable x86 stable ppc64 untested riscv untested alpha untested arm stable hppa untested loong untested mips untested ppc untested s390 untested sparc untested 11 mo view · download · history ↗
4.6.2_p1 HomeAssistantRepository amd64 stable arm64 stable x86 stable ppc64 untested riscv untested alpha untested arm stable hppa untested loong untested mips untested ppc untested s390 untested sparc untested 11 mo view · download · history ↗
4.6.0 HomeAssistantRepository amd64 stable arm64 stable x86 stable ppc64 untested riscv untested alpha untested arm stable hppa untested loong untested mips untested ppc untested s390 untested sparc untested 11 mo view · download · history ↗
4.4.0 HomeAssistantRepository amd64 stable arm64 stable x86 stable ppc64 untested riscv untested alpha untested arm stable hppa untested loong untested mips untested ppc untested s390 untested sparc untested 11 mo view · download · history ↗
4.3.0-r1 HomeAssistantRepository amd64 stable arm64 stable x86 stable ppc64 untested riscv untested alpha untested arm stable hppa untested loong untested mips untested ppc untested s390 untested sparc untested 11 mo view · download · history ↗
2.2.0 pypi-sci amd64 testing arm64 untested x86 untested ppc64 untested riscv untested alpha untested arm untested hppa untested loong untested mips untested ppc untested s390 untested sparc untested 2 yr view · download · history ↗

Use flags of 4.14.2

  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
  • doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
  • verify-provenance Verify provenance of PyPI distfiles (verifies that the artifact comes from upstream source repository)
4 expansion flags (python targets, ABIs, cpu flags…)
  • python_targets_python3_12
  • python_targets_python3_13
  • python_targets_python3_14
  • python_targets_python3_15

Runtime dependencies of 4.14.2

show 17 lines