Foundations of Python Network Programming

The comprehensive guide to building network applications with Python

Authors: Goerzen, John, Bower, Tim, Rhodes, Brandon

Download source code
  • 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
see more benefits

Buy this book

eBook $39.99
price for USA
  • ISBN 978-1-4302-3004-5
  • Digitally watermarked, DRM-free
  • Included format: PDF
  • ebooks can be used on all reading devices
  • Download immediately after purchase
Softcover $54.99
price for USA
  • ISBN 978-1-4302-3003-8
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

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.

About the authors

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.

Table of contents (18 chapters)

  • CHAPTER 1 Introduction to Client/Server Networking

    Rhodes, Brandon (et al.)

    Pages 1-14

  • CHAPTER 2 UDP

    Rhodes, Brandon (et al.)

    Pages 15-34

  • CHAPTER 3 TCP

    Rhodes, Brandon (et al.)

    Pages 35-49

  • CHAPTER 4 Socket Names and DNS

    Rhodes, Brandon (et al.)

    Pages 51-70

  • CHAPTER 5 Network Data and Network Errors

    Rhodes, Brandon (et al.)

    Pages 71-85

Buy this book

eBook $39.99
price for USA
  • ISBN 978-1-4302-3004-5
  • Digitally watermarked, DRM-free
  • Included format: PDF
  • ebooks can be used on all reading devices
  • Download immediately after purchase
Softcover $54.99
price for USA
  • ISBN 978-1-4302-3003-8
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Foundations of Python Network Programming
Book Subtitle
The comprehensive guide to building network applications with Python
Authors
Copyright
2010
Publisher
Apress
Copyright Holder
John Goerzen, Brandon Rhodes
eBook ISBN
978-1-4302-3004-5
DOI
10.1007/978-1-4302-3004-5
Softcover ISBN
978-1-4302-3003-8
Edition Number
2
Number of Pages
XX, 368
Topics