Book description
Get started with Twisted, the event-driven networking framework written in Python. With this introductory guide, you’ll learn the key concepts and design patterns to build event-driven client and server applications for many popular networking protocols. You’ll also learn the tools to build new protocols using Twisted’s primitives.
Start by building basic TCP clients and servers, and then focus on deploying production-grade applications with the Twisted Application infrastructure. Along the way, you can play with and extend examples of common tasks you’ll face when building network applications. If you’re familiar with Python, you’re ready for Twisted.
- Learn the core components of Twisted servers and clients
- Write asynchronous code with the Deferred API
- Construct HTTP servers with Twisted’s high-level web APIs
- Use the Agent API to develop flexible web clients
- Configure and deploy Twisted services in a robust and standardized fashion
- Access databases using Twisted’s nonblocking interface
- Add common server components: logging, authentication, threads and processes, and testing
- Explore ways to build clients and servers for IRC, popular mail protocols, and SSH
Table of contents
- Foreword to the First Edition
- Preface
-
I. An Introduction to Twisted
- 1. Getting Started
- 2. Building Basic Clients and Servers
- 3. Writing Asynchronous Code with Deferreds
- 4. Web Servers
- 5. Web Clients
- II. Building Production-Grade Twisted Services
- III. More Protocols and More Practice
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Twisted Network Programming Essentials, 2nd Edition
- Author(s):
- Release date: March 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449326111
You might also like
book
Robust Python
Does it seem like your Python projects are getting bigger and bigger? Are you feeling the …
book
Interactive Dashboards and Data Apps with Plotly and Dash
Build web-based, mobile-friendly analytic apps and interactive dashboards with Python Key Features Develop data apps and …
book
Twisted Network Programming Essentials
Twisted Network Programming Essentials from O'Reilly is a task-oriented look at this new open source, Python-based …
book
Python for Data Analysis, 3rd Edition
Get the definitive handbook for manipulating, processing, cleaning, and crunching datasets in Python. Updated for Python …