BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-anyio4.13.0_1 behind since 2026-07-08no data-[email protected]-
FreeBSDdevel/py-anyio4.15.1 newestnone known-[email protected]2026-09-12
NetBSDdevel/py-anyio4.15.1 newestnone known-[email protected]2026-10-16
DragonFlydevel/py-anyio4.8.0 behind since 2026-07-08none known-[email protected]-
HardenedBSDdevel/py-anyio4.15.1 newestno data-[email protected]-
GhostBSDdevel/py-anyio4.15.1 newestno data-[email protected]-
OPNsensedevel/py-anyio4.13.0 behind since 2026-07-08no data-[email protected]-

Compare across BSDs

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

Runtime 2

Build dependencies 3
Run dependencies 2

Configuration

Options name: devel_anyio

OptionDefaultDescription
TRIOoffUse trio as backend
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
anyio-4.13.0.tar.gz231622334b70e641fd2221c1505b3890c69882fe4a2df910cba14d97019b90b24439dc
Master sites 1
  • PYPI