Foundations of Python Network ProgrammingThe comprehensive guide to building network applications with PythonAuthors:
- Brandon Rhodes,
- John Goerzen
- …show all 2hide
ISBN: 978-1-4302-3003-8 (Print) 978-1-4302-3004-5 (Online)
The comprehensive guide to building network applications with Python
Goerzen, John, Bower, Tim, Rhodes, Brandon
2nd ed. 2010, XX, 345 p.
A product of Apress
ISBN 978-1-4302-3003-8
Usually dispatched within 3 to 5 business days.
About this book
- A classic reference updated to the latest version of Python
- Offers extensive advice on how to deal with network issues
- Addresses new developments such as WSGI, FastCGI, and more
- Readers may use the included code examples as building blocks to c
You will learn fundamentals like IP, TCP, DNS and SSL by using working Python programs; you will also be able to familiarize yourself with infrastructure components like memcached and message queues. You can also delve into network server designs, and compare threaded approaches with asynchronous event-based solutions.
But the biggest change is this edition's expanded treatment of the web. The HTTP protocol is covered in extensive detail, with each feature accompanied by sample Python code. You can use your HTTP protocol expertise by studying an entire chapter on screen scraping and you can then test lxml and BeautifulSoup against a real-world web site. The chapter on web application programming now covers both the WSGI standard for component interoperability, as well as modern web frameworks like Django.
Finally, all of the old favorites from the first edition are back: E-mail protocols like SMTP, POP, and IMAP get full treatment, as does XML-RPC. You can still learn how to code Python network programs using the Telnet and FTP protocols, but you are likely to appreciate the power of more modern alternatives like the paramiko SSH2 library. If you are a Python programmer who needs to learn the network, this is the book that you want by your side.
Table of contents
- Introduction to Client/Server Networking
- UDP
- TCP
- Socket Names and DNS
- Network Data and Network Errors
- TLS and SSL
- Server Architecture
- Caches, Message Queues, and Map-Reduce
- HTTP
- Screen Scraping
- Web Applications
- E-mail Composition and Decoding
- SMTP
- POP
- IMAP
- Telnet and SSH
- FTP
- RPC
- Authors & Editors
John Goerzen is an accomplished author, system administrator, and Python programmer. He has been a Debian developer since 1996 and is currently president of Software in the Public Interest, Inc. His previously published books include the Linux Programming Bible, Debian Unleashed, and Linux Unleashed.