Advertisement

Foundations of Python Network Programming

The comprehensive guide to building network applications with Python

  • Authors
  • Brandon Rhodes
  • John Goerzen

Table of contents

  1. Front Matter
    Pages i-xx
  2. Brandon Rhodes, John Goerzen
    Pages 1-14
  3. Brandon Rhodes, John Goerzen
    Pages 15-34
  4. Brandon Rhodes, John Goerzen
    Pages 35-49
  5. Brandon Rhodes, John Goerzen
    Pages 51-70
  6. Brandon Rhodes, John Goerzen
    Pages 71-85
  7. Brandon Rhodes, John Goerzen
    Pages 87-98
  8. Brandon Rhodes, John Goerzen
    Pages 99-124
  9. Brandon Rhodes, John Goerzen
    Pages 125-136
  10. Brandon Rhodes, John Goerzen
    Pages 137-162
  11. Brandon Rhodes, John Goerzen
    Pages 163-178
  12. Brandon Rhodes, John Goerzen
    Pages 179-196
  13. Brandon Rhodes, John Goerzen
    Pages 197-216
  14. Brandon Rhodes, John Goerzen
    Pages 217-234
  15. Brandon Rhodes, John Goerzen
    Pages 235-241
  16. Brandon Rhodes, John Goerzen
    Pages 243-262
  17. Brandon Rhodes, John Goerzen
    Pages 263-290
  18. Brandon Rhodes, John Goerzen
    Pages 291-303
  19. Brandon Rhodes, John Goerzen
    Pages 305-321
  20. Back Matter
    Pages 323-345

About this book

Introduction

This second edition of Foundations of Python Network Programming targets Python 2.5 through Python 2.7, the most popular production versions of the language. Python has made great strides since Apress released the first edition of this book back in the days of Python 2.3. The advances required new chapters to be written from the ground up, and others to be extensively revised.

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.

Keywords

Django SMTP Socket XML framework programming

Bibliographic information

Industry Sectors
Pharma
Automotive
Finance, Business & Banking
Electronics
IT & Software
Telecommunications
Aerospace
Engineering