Expert Twisted: Event-Driven and Asynchronous Programming with Python

Expert Twisted: Event-Driven and Asynchronous Programming with Python

eBook Details:

  • Paperback: 382 pages
  • Publisher: WOW! eBook; 1st edition (February 4, 2019)
  • Language: English
  • ISBN-10: 1484237412
  • ISBN-13: 978-1484237410

eBook Description:

Expert Twisted: Event-Driven and Asynchronous Programming with Python

Explore Twisted, the Python-based event-driven networking engine, and review several of its most popular application projects. Expert Twisted: Event-Driven and Asynchronous Programming with Python is written by community leaders who have contributed to many of the projects covered, and share their hard-won insights and experience.

Expert Twisted: Event-Driven and Asynchronous Programming with Python starts with an introduction to event-driven programming, explaining it in the context of what makes Twisted unique. It shows how Twisted’s design emphasizes testability as a solution to common challenges of reliability, debugging, and start-to-finish causality that are inherent in event-driven programming. It also explains asynchronous programming, and the importance of functions, deferreds, and coroutines. It then uses two popular applications, treq and klein, to demonstrate calling and writing Web APIs with Twisted.

The second part of the book dives into Twisted projects, in each case explaining how the project fits into the Twisted ecosystem and what it does, and offers several examples to bring readers up to speed, with pointers to additional resources for more depth. Examples include using Twisted with Docker, as a WSGI container, for file sharing, and more.

DOWNLOAD

Leave a Reply

Your email address will not be published. Required fields are marked *