Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Expert Twisted - Mark Williams, Cory Benfield, Brian Warner, Moshe Zadka, Dustin Mitchell, Kevin Samuel, Pierre Tardy

Expert Twisted (eBook)

Event-Driven and Asynchronous Programming with Python
eBook Download: PDF
2018 | 1st ed.
XIX, 382 Seiten
Apress (Verlag)
978-1-4842-3742-7 (ISBN)
Systemvoraussetzungen
56,99 inkl. MwSt
(CHF 55,65)
Der eBook-Verkauf erfolgt durch die Lehmanns Media GmbH (Berlin) zum Preis in Euro inkl. MwSt.
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
Explore Twisted, the Python-based event-driven networking engine, and review several of its most popular application projects. It is written by community leaders who have contributed to many of the projects covered, and share their hard-won insights and experience.

Expert Twisted 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.

What You'll Learn
  • Integrate Twisted and asyncio using adapters
  • Automate software build, test, and release processes with Buildbot
  • Create clients and servers with Autobahn
  • Transfer files with Magic Wormhole
  • Distribute cloud-based file storage with Tahoe LAFS
  • Understand HTTP/2 with Python and Twisted
  • Support for asynchronous tasks using Django Channels

Who This Book Is For

Readers should have some Python experience and understand the essentials of containers and protocols, but need not be familiar with Twisted or the associated projects covered in the book.


The authors of Expert Twisted include leaders in the Python community and core developers of many of the projects covered. 


Mark Williams works on Twisted and helps develop the Python Cryptographic Authority's pure-Python TLS implementation. At eBay and PayPal, he worked on high-performance Python web services (over a billion requests a day!), application and information security, and porting enterprise, Java-only libraries to Python.


Cory Benfield is an open source Python developer heavily involved in the Python HTTP community. He's a Requests core contributor, a urllib3 core contributor, and the lead maintainer of the Hyper Project, a collection of HTTP and HTTP/2 tools for Python. For his sins, he also helps out with the Python Cryptographic Authority on PyOpenSSL.


Brian Warner is a security engineer and software developer, having worked at Mozilla on Firefox Sync, the Add-On SDK, and Persona. He is co-founder of the Tahoe-LAFS distributed secure filesystem, and develops secure storage and communication tools.


Moshe Zadka has been part of the open source community since 1995, made his first core Python contributions in 1998 and is a founding member of the Twisted open source project. He also loves to teach Twisted and Python, having given tutorials at several conferences as well regularly blogging.


Dustin J. Mitchell has contributed to Buildbot and is a member of the TaskCluster team at Mozilla, having also worked on the Release Engineering, Release Operations, and Infrstructure teams.


Pierre Tardy is a Continuous Integration Specialist with Renault Software Labs, and is currently the lead committer for Buildbot

Explore Twisted, the Python-based event-driven networking engine, and review several of its most popular application projects. It is written by community leaders who have contributed to many of the projects covered, and share their hard-won insights and experience.Expert Twisted 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.What You'll LearnIntegrate Twisted and asyncio using adaptersAutomate software build, test, and release processes with BuildbotCreate clients and servers with AutobahnTransfer files with Magic WormholeDistribute cloud-based file storage with Tahoe LAFSUnderstand HTTP/2 with Python and TwistedSupport for asynchronous tasks using Django ChannelsWho This Book Is ForReaders should have some Python experience and understand the essentials of containers and protocols, but need not be familiar with Twisted or the associated projects covered in the book.

The authors of Expert Twisted include leaders in the Python community and core developers of many of the projects covered. Mark Williams works on Twisted and helps develop the Python Cryptographic Authority's pure-Python TLS implementation. At eBay and PayPal, he worked on high-performance Python web services (over a billion requests a day!), application and information security, and porting enterprise, Java-only libraries to Python.Cory Benfield is an open source Python developer heavily involved in the Python HTTP community. He's a Requests core contributor, a urllib3 core contributor, and the lead maintainer of the Hyper Project, a collection of HTTP and HTTP/2 tools for Python. For his sins, he also helps out with the Python Cryptographic Authority on PyOpenSSL.Brian Warner is a security engineer and software developer, having worked at Mozilla on Firefox Sync, the Add-On SDK, and Persona. He is co-founder of the Tahoe-LAFS distributed secure filesystem, and develops secure storage and communication tools.Moshe Zadka has been part of the open source community since 1995, made his first core Python contributions in 1998 and is a founding member of the Twisted open source project. He also loves to teach Twisted and Python, having given tutorials at several conferences as well regularly blogging.Dustin J. Mitchell has contributed to Buildbot and is a member of the TaskCluster team at Mozilla, having also worked on the Release Engineering, Release Operations, and Infrstructure teams.Pierre Tardy is a Continuous Integration Specialist with Renault Software Labs, and is currently the lead committer for Buildbot

Expert TwistedPart 1: Foundations1. Introduction to Event-Driven programming via Twisted2. Introduction to Asynchronous Programming with Twisted3. Practical Twisted Applications with treq and kleinPart 2: Projects4. Twisted and Docker5. Twisted as a WSGI Container6. Tahoe LAFS7. Magic Wormhole8. Autobahn9. Integrating Twisted and Asyncio10. Buildbot11. HTTP212. Twisted and Django Channels

Erscheint lt. Verlag 7.12.2018
Zusatzinfo XIX, 382 p. 23 illus.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Schlagworte Asynchronous Programming • asyncio • deferreds • Docker • Event-driven Programming • Networking • Python • Testing • Twisted
ISBN-10 1-4842-3742-0 / 1484237420
ISBN-13 978-1-4842-3742-7 / 9781484237427
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 4,9 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Johannes Ernesti; Peter Kaiser

eBook Download (2023)
Rheinwerk Computing (Verlag)
CHF 30,70
Das Handbuch für Webentwickler

von Philip Ackermann

eBook Download (2023)
Rheinwerk Computing (Verlag)
CHF 34,10
Deterministische und randomisierte Algorithmen

von Volker Turau; Christoph Weyer

eBook Download (2024)
De Gruyter (Verlag)
CHF 63,45