python-anyio
Port variant py310
Summary Layer built on asyncio or trio libraries (3.10)
Package version 4.0.0
Homepage No known homepage
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v11
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 30 AUG 2023, 05:09:20 UTC
Port created 17 JUL 2023, 23:40:12 UTC
Subpackage Descriptions
single :alt: Build Status :alt: Code Coverage :alt: Documentation :alt: Gitter chat AnyIO is an asynchronous networking and concurrency library that works on top of either asyncio_ or trio_. It implements trio-like `structured concurrency`_ (SC) on top of asyncio and works in harmony with the native SC of trio itself. Applications and libraries written against AnyIO's API will run unmodified on either asyncio_ or trio_. AnyIO can also be adopted into a library or application incrementally – bit by bit, no full refactoring necessary. It will blend in with the native libraries of your chosen backend. Documentation ------------- View full documentation at: https://anyio.readthedocs.io/ Features -------- AnyIO offers the following functionality: * Task groups (nurseries_ in trio terminology) * High-level networking (TCP, UDP and UNIX sockets) * `Happy eyeballs`_ algorithm for TCP connections (more robust than that of asyncio on Python 3.8) * async/await style UDP sockets (unlike asyncio where you still have to use Transports and Protocols) * A versatile API for byte streams and object streams * Inter-task synchronization and communication (locks, conditions, events, semaphores, object streams) * Worker threads * Subprocesses * Asynchronous file I/O (using worker threads) * Signal handling AnyIO also comes with its own pytest_ plugin which also supports asynchronous fixtures. It even works with the popular Hypothesis_ library. .. _asyncio: https://docs.python.org/3/library/asyncio.html .. _trio: https://github.com/python-trio/trio .. _structured concurrency: https://en.wikipedia.org/wiki/Structured_concurrency .. _nurseries: https://trio.readthedocs.io/en/stable/reference-core.html#nurseries-and-spawning .. _Happy eyeballs: https://en.wikipedia.org/wiki/Happy_Eyeballs .. _pytest: https://docs.pytest.org/en/latest/ .. _Hypothesis: https://hypothesis.works/
Configuration Switches (platform-specific settings discarded)
PY310 ON Build using Python 3.10 PY311 OFF Build using Python 3.11
Package Dependencies by Type
Build (only) python-pip:single:py310
autoselect-python:single:standard
Build and Runtime python310:single:standard
Runtime (only) python-idna:single:py310
python-sniffio:single:py310
python-exceptiongroup:single:py310
Download groups
main mirror://PYPIWHL/36/55/ad4de788d84a630656ece71059665e01ca793c04294c463fd84132f40fe6
Distribution File Information
cfdb2b588b9fc25ede96d8db56ed50848b0b649dca3dd1df0b11f683bb9e0b5f 83122 anyio-4.0.0-py3-none-any.whl
Ports that require python-anyio:py310
python-httpcore:py310 Minimal low-level HTTP client (3.10)