BSD Ports

net/py-trio 0.34.0 FreeBSD

Library for async concurrency and I/O

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
acb7a64665
License
APACHE20, MIT
Categories
net, python
Package size
1066.3 KiB, 6168.8 KiB installed

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

SystemPortVersion
FreeBSDnet/py-trio0.34.0
DragonFlynet/py-trio0.29.0
MidnightBSDnet/py-trio0.30.0_1

Install

Binary package:

pkg install py312-trio

From the ports tree:

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

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

RUN_DEPENDS=	py312-trio>0:net/py-trio

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.34.00.34.00.22.0_10.30.00.34.0
FreeBSD:14:quarterly0.34.00.34.0n/a0.30.00.34.0
FreeBSD:15:latest0.34.00.34.0n/a0.30.00.30.0
FreeBSD:15:quarterly0.34.00.34.0n/an/an/a
FreeBSD:16:latest0.34.00.34.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 7

Test 8

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 15
Required by 343

The first 100 are listed.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
trio-0.34.0.tar.gz60745763b9485408bdfdde544fced107045a8c0086cdc4bd0ef2f797b9e0dd111b964b
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
acb7a64665 Emanuel Haupt net/py-trio: Update to 0.34.0