Friday 2:35 p.m.–3:05 p.m.

Twisted Mixing

Laurens Van Houtven

Audience level:
Intermediate
Category:
Python Libraries

Description

A talk about mixing Twisted, an asynchronous IO framework for Python, with other Python code: blocking code, other asynchronous code...

Abstract

This talk deals with how Twisted can be combined with pretty much anything else. A common criticism of Twisted is that it wants to take over your entire ecosystem. The point of this talk is to demonstrate that that's a misconception.

Specifically, the talk will demonstrate how:

  • Twisted can be added to many stacks with little or no change, e.g. as your WSGI server
  • Twisted can be added to existing blocking code easily
  • Blocking code, new or old, can be added to Twisted code
  • Twisted plays well with other asynchronous IO frameworks: specifically, I will talk about combining it with gevent