Details

Expert Twisted


Expert Twisted

Event-Driven and Asynchronous Programming with Python

von: Mark Williams, Cory Benfield, Brian Warner, Moshe Zadka, Dustin Mitchell, Kevin Samuel, Pierre Tardy

56,99 €

Verlag: Apress
Format: PDF
Veröffentl.: 07.12.2018
ISBN/EAN: 9781484237427
Sprache: englisch

Dieses eBook enthält ein Wasserzeichen.

Beschreibungen

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.<div><br></div><div><i>Expert Twisted</i> 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.</div><div><br></div><div>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.</div><div><br></div><div><b>What You'll Learn</b></div><div><ul><li>Integrate Twisted and asyncio using adapters<br></li><li>Automate software build, test, and release processes with Buildbot<br></li><li>Create clients and servers with Autobahn<br></li><li>Transfer files with Magic Wormhole<br></li><li>Distribute cloud-based file storage with Tahoe LAFS</li><li>Understand HTTP/2 with Python and Twisted<br></li><li>Support for asynchronous tasks using Django Channels<br></li></ul></div><div><br></div><div><b>Who This Book Is For</b></div><div><br></div><div>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.</div>
<div><div>Part 1: Foundations.-&nbsp;</div><div>1. Introduction to Event-Driven programming via Twisted.-&nbsp;</div>2. Introduction to Asynchronous Programming with Twisted.- 3. Practical Twisted Applications with treq and klein.-&nbsp;Part 2: Projects.-&nbsp;4. Twisted and Docker.- 5. Twisted as a WSGI Container.- 6. Tahoe LAFS.- 7. Magic Wormhole.- 8. Autobahn.- 9. Integrating Twisted and Asyncio.- 10. Buildbot.- 11. HTTP2.- 12. Twisted and Django Channels.</div><div><div><br></div></div>
The authors of <i>Expert Twisted</i> include leaders in the Python community and core developers of many of the projects covered.&nbsp;<div><br><div><br></div><div>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.</div><div><br></div><div><br></div><div>Cory Benfield&nbsp;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.</div><div></div><div><br></div><div><br></div><div><div>Brian Warner&nbsp;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.</div><div><br></div><div><br></div><div>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.</div></div><div><br></div><div><br></div><div>Dustin J. Mitchell has contributed to Buildbot&nbsp;and is a member of the TaskCluster team at Mozilla, having also worked on the Release Engineering, Release Operations, and Infrstructure teams.</div><div><br></div><div><br></div><div>Pierre Tardy is a Continuous Integration Specialist with Renault Software Labs, and is currently the lead committer for Buildbot</div></div>
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.<div><br></div><div><i>Expert Twisted</i>&nbsp;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.</div><div><br></div><div>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.</div>
An authoritative guide to the Twisted ecosystem, written by Python community leaders Explains event-driven programming and asynchronous programming with Python Demonstrates how to combine Twisted's many components into a coherent whole
An authoritative guide to the Twisted ecosystem, written by Python community leaders<div><br><div>Explains event-driven programming and asynchronous programming with Python</div><div><br></div><div>Demonstrates how to combine Twisted's many components into a coherent whole</div></div>

Diese Produkte könnten Sie auch interessieren:

Software Process Modeling
Software Process Modeling
von: Silvia T. Acuna, Natalia Juristo
PDF ebook
96,29 €
A Software Process Model Handbook for Incorporating People's Capabilities
A Software Process Model Handbook for Incorporating People's Capabilities
von: Silvia T. Acuna, Natalia Juristo, Ana Maria Moreno, Alicia Mon
PDF ebook
149,79 €
XML for Bioinformatics
XML for Bioinformatics
von: Ethan Cerami
PDF ebook
53,49 €