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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | net/py-trio | 0.30.0_1 behind since 2026-08-12 | no data | - | [email protected] | - |
| FreeBSD | net/py-trio | 0.34.0 newest | none known | - | [email protected] | 2026-08-12 |
| DragonFly | net/py-trio | 0.29.0 behind since 2026-08-12 | none known | - | [email protected] | - |
| HardenedBSD | net/py-trio | 0.34.0 newest | no data | - | [email protected] | - |
| GhostBSD | net/py-trio | 0.34.0 newest | no data | - | [email protected] | - |
| OPNsense | net/py-trio | 0.33.0 behind since 2026-08-12 | no data | - | [email protected] | - |
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
${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 7
${PYTHON_PKGNAMEPREFIX}async_generator>0: devel/py-async_generator${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0: devel/py-attrs${PYTHON_PKGNAMEPREFIX}cffi>=1.14: devel/py-cffi${PYTHON_PKGNAMEPREFIX}idna>0: dns/py-idna${PYTHON_PKGNAMEPREFIX}outcome>0: devel/py-outcome${PYTHON_PKGNAMEPREFIX}sniffio>0: devel/py-sniffio${PYTHON_PKGNAMEPREFIX}sortedcontainers>0: devel/py-sortedcontainers
Build dependencies 1
Run dependencies 7
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| trio-0.30.0.tar.gz | 593776 | 0781c857c0c81f8f51e0089929a26b5bb63d57f927728a5586f7e36171f064df |
Master sites 1
- PYPI