BSD Ports

devel/py-txaio 26.6.1 NetBSD

Compatibility API between asyncio/Twisted/Trollius

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel, python
Package size
38.2 KiB, 202.3 KiB installed

Description

txaio is a helper library for writing code that runs unmodified on both Twisted and asyncio / Trollius.

This is like six, but for wrapping over differences between Twisted and asyncio so one can write code that runs unmodified on both (aka source code compatibility). In other words: your users can choose if they want asyncio or Twisted as a dependency.

Note that, with this approach, user code runs under the native event loop of either Twisted or asyncio. This is different from attaching either one's event loop to the other using some event loop adapter.

In the other systems

SystemPortVersion
NetBSDdevel/py-txaio26.6.1
FreeBSDdevel/py-txaio26.6.1
OpenBSDdevel/py-txaio26.6.1
DragonFlydevel/py-txaio22.2.1_1
MidnightBSDdevel/py-txaio22.2.1_1
HardenedBSDdevel/py-txaio26.6.1
GhostBSDdevel/py-txaio26.6.1

Install

Binary package:

pkgin install py311-txaio

From pkgsrc:

cd /usr/pkgsrc/devel/py-txaio && make install clean

Packages

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

RepositoryVersion
NetBSD 10.1 x86_6426.6.1
NetBSD 10.1 aarch6425.12.2
SmartOS / illumos x86_6426.6.1
macOS 15 arm6426.6.1

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-txaio-26.6.1, py313-txaio-26.6.1, py314-txaio-26.6.1