devel/py-anyio 4.13.0_1 MidnightBSD
High level compatibility layer for multiple asynchronous event loop implementations
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
Description
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.
In the other systems
The newest version among them is 4.15.1, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-anyio | 4.13.0_1 behind since 2026-07-08 | no data | - | [email protected] | - |
| FreeBSD | devel/py-anyio | 4.15.1 newest | none known | - | [email protected] | 2026-09-12 |
| NetBSD | devel/py-anyio | 4.15.1 newest | none known | - | [email protected] | 2026-10-16 |
| DragonFly | devel/py-anyio | 4.8.0 behind since 2026-07-08 | none known | - | [email protected] | - |
| HardenedBSD | devel/py-anyio | 4.15.1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-anyio | 4.15.1 newest | no data | - | [email protected] | - |
| OPNsense | devel/py-anyio | 4.13.0 behind since 2026-07-08 | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}anyio
From mports:
cd /usr/mports/devel/py-anyio && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>0:devel/py-anyio
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.4: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}idna>=2.8: dns/py-idna${PYTHON_PKGNAMEPREFIX}truststore>=0.9.1: security/py-truststore
Build dependencies 3
Run dependencies 2
Configuration
Options name: devel_anyio
| Option | Default | Description |
|---|---|---|
| TRIO | off | Use trio as backend |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| anyio-4.13.0.tar.gz | 231622 | 334b70e641fd2221c1505b3890c69882fe4a2df910cba14d97019b90b24439dc |
Master sites 1
- PYPI