• Complain

Mark Williams - Expert Twisted: Event-Driven and Asynchronous Programming with Python

Here you can read online Mark Williams - Expert Twisted: Event-Driven and Asynchronous Programming with Python full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2019, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Mark Williams Expert Twisted: Event-Driven and Asynchronous Programming with Python

Expert Twisted: Event-Driven and Asynchronous Programming with Python: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Expert Twisted: Event-Driven and Asynchronous Programming with Python" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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 Twisteds 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 Youll 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.

Mark Williams: author's other books


Who wrote Expert Twisted: Event-Driven and Asynchronous Programming with Python? Find out the surname, the name of the author of the book and a list of all author's works by series.

Expert Twisted: Event-Driven and Asynchronous Programming with Python — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Expert Twisted: Event-Driven and Asynchronous Programming with Python" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Mark Williams Cory Benfield Brian Warner Moshe Zadka Dustin Mitchell - photo 1
Mark Williams , Cory Benfield , Brian Warner , Moshe Zadka , Dustin Mitchell , Kevin Samuel and Pierre Tardy
Expert Twisted Event-Driven and Asynchronous Programming with Python
Mark Williams Pasadena CA USA Cory Benfield London UK Brian Warner New - photo 2
Mark Williams
Pasadena, CA, USA
Cory Benfield
London, UK
Brian Warner
New York, USA
Moshe Zadka
New York, USA
Dustin Mitchell
New York, USA
Kevin Samuel
Nice, France
Pierre Tardy
Toulouse, France

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/9781484237410 . For more detailed information, please visit http://www.apress.com/source-code .

ISBN 978-1-4842-3741-0 e-ISBN 978-1-4842-3742-7
https://doi.org/10.1007/978-1-4842-3742-7
Library of Congress Control Number: 2018965166
Mark Williams, Cory Benfield, Brian Warner, Moshe Zadka, Dustin Mitchell, Kevin Samuel, Pierre Tardy 2019
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

Dedicated to AZ, NZ, and TS: Twisted prevails, and were looking forward to the next generation of maintainers.

Moshe Zadka

Introduction

Twisted has recently celebrated its sweet sixteen birthday. It has been around for a while; and in that time, it grew to be a powerful library. In that time, some interesting applications have been built on top of it. In that time, many of us learned a lot about how to use Twisted well, how to think about networking code, and how to architect event-based programs.

After going through the introductory materials that we have on the Twisted site, a common thing to hear is What now? How can I learn more about Twisted? The usual way we answered that question is with a question: What do you want to do with Twisted? This book shows how to do interesting things with Twisted.

Each of the contributors to this book has done slightly different things with Twisted and learned different lessons. We are excited to present all of these lessons, with the goals of making them common knowledge in the community.

Enjoy!

Acknowledgments

Thanks to my wife, Jennifer Zadka, without whose support I could not have done it.

Thanks to my parents, Yaacov and Pnina Zadka, who taught me how to learn.

Thanks to my advisor, Yael Karshon, for teaching me how to write.

Thanks to Mahmoud Hashemi, for inspiration and encouragement.

Thanks to Mark Williams, for always being there for me.

Thanks to Glyph Lefkowitz, for teaching me things about Python, about programming, and about being a good person.

Moshe Zadka

Thanks to Mahmoud Hashemi and David Karapetyan for their feedback. Thanks to Annie for putting up with me while I wrote

Mark Williams

Table of Contents
Part 1: Foundations
Part 2: Projects
About the Authors and About the Technical Reviewers
About the Authors
Mark Williams

works on Twisted. 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. Hes 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 as regularly blogging.

Dustin 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 Infrastructure teams.

Kevin Samuel

has been a Dev and trainer since Python 2.4 and has been putting his skills to work in East Europe, North America, Asia, and West Africa. He has been working closely with the Crossbar.io team and is an active member of the French Python community.

Pierre Tardy

is a continuous integration specialist with Renault Software Labs, and he is currently the lead committer for Buildbot.

About the Technical Reviewers
Julian Berman
is a New York-based software developer and open source contributor He is the - photo 3

is a New York-based software developer and open source contributor. He is the author of the jsonschema Python library, an occasional contributor to the Twisted ecosystem, and an active member of the Python community.

Shawn Shojaie

lives in the clement chaparral of Californias Bay Area, where he works as a back-end software engineer. He has worked at Intel, NetApp, and now SimpleLegal, where he happily builds web-based applications for legal services. He spends weekdays writing Django and tuning PostgreSQL, and his weekends contributing to open source projects like django-pylint, occasionally editing technical essays. Find out more at him at shawnshojaie.com.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Expert Twisted: Event-Driven and Asynchronous Programming with Python»

Look at similar books to Expert Twisted: Event-Driven and Asynchronous Programming with Python. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Expert Twisted: Event-Driven and Asynchronous Programming with Python»

Discussion, reviews of the book Expert Twisted: Event-Driven and Asynchronous Programming with Python and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.