py3-txaio

compatibility API between asyncio/Twisted/Trollius

WWW CVSWeb GITHub
  1. Package version
    py3-txaio-23.1.1
  2. Maintainer
    The OpenBSD ports mailing-list

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.

  • python3

  • lang/python/3.10
  • devel/py-build,python3
  • devel/py-installer,python3
  • devel/py-setuptools,python3
  • devel/py-wheel,python3

  • lang/python/3.10