Contribute Media
A thank you to everyone who makes this possible: Read More

Creating And Consuming Modern Web Services with Twisted


This tutorial will show students how to write applications and services which efficiently publish and consume services and APIs.

To do so, we will combine 4 Python-based technologies:

  • Jupyter is a real-time development environment.
  • Twisted is a powerful platform for network programming that supports many protocols, including HTTP.
  • Klein is a Twisted-based web application framework.
  • Treq is a Requests-style HTTP client based on Twisted.

By combining all of these we will guide students through interactively prototyping a production quality web application that publishes both service APIs and web resources such as HTML, and that can efficiently consume many back-end services such as 3rd-party APIs.


Improve this page