BSD Ports

net/py-trio 0.30.0_1 MidnightBSD

Library for async concurrency and I/O

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
Apache-2.0, mit
Categories
net, python

Description

A permissively licensed, async/await-native I/O library for Python. Its main purpose is to help you write programs that do multiple things at the same time with parallelized I/O. A web spider that wants to fetch lots of pages in parallel, a web server that needs to juggle lots of downloads and websocket connections at the same time, a process supervisor monitoring multiple subprocesses. Compared to other libraries, Trio attempts to distinguish itself with an obsessive focus on usability and correctness. Concurrency is complicated; trio tries to make it easy to get things right.

Trio was built from the ground up to take advantage of the latest Python features, and draws inspiration from many sources, in particular Dave Beazley's Curio. The resulting design is radically simpler than older competitors like asyncio and Twisted, yet just as capable.

In the other systems

The newest version among them is 0.34.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDnet/py-trio0.30.0_1 behind since 2026-08-12no data-[email protected]-
FreeBSDnet/py-trio0.34.0 newestnone known-[email protected]2026-08-12
DragonFlynet/py-trio0.29.0 behind since 2026-08-12none known-[email protected]-
HardenedBSDnet/py-trio0.34.0 newestno data-[email protected]-
GhostBSDnet/py-trio0.34.0 newestno data-[email protected]-
OPNsensenet/py-trio0.33.0 behind since 2026-08-12no data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}trio

From mports:

cd /usr/mports/net/py-trio && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}trio>0:net/py-trio

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 1

Runtime 7

Build dependencies 1
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
trio-0.30.0.tar.gz5937760781c857c0c81f8f51e0089929a26b5bb63d57f927728a5586f7e36171f064df
Master sites 1
  • PYPI