Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Compatibility API between asyncio/Twisted/Trollius

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for txaio, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size txaio-1.0.0.zip (33.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page