Python event driven programming software#
For his sins, he also helps out with the Python Cryptographic Authority on PyOpenSSL.īrian Warner is a security engineer and software developer, having worked at Mozilla on Firefox Sync, the Add-On SDK, and Persona. 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. 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.Ĭory Benfield is an open source Python developer heavily involved in the Python HTTP community. Mark Williams works on Twisted and helps develop the Python Cryptographic Authority's pure-Python TLS implementation. The authors of Expert Twisted include leaders in the Python community and core developers of many of the projects covered. "synopsis" may belong to another edition of this title. 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. Support for asynchronous tasks using Django Channels.Understand HTTP/2 with Python and Twisted.Distribute cloud-based file storage with Tahoe LAFS.Create clients and servers with Autobahn.
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. It then uses two popular applications, treq and klein, to demonstrate calling and writing Web APIs with Twisted. It also explains asynchronous programming, and the importance of functions, deferreds, and coroutines. 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 is written by community leaders who have contributed to many of the projects covered, and share their hard-won insights and experience.Įxpert Twisted starts with an introduction to event-driven programming, explaining it in the context of what makes Twisted unique. Explore Twisted, the Python-based event-driven networking engine, and review several of its most popular application projects.