Foundations of Python Network Programming

Computers / Networking / General, Computers / Programming Languages / Python, Ebook

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.

What you’ll learn

  • Understand low level networking
  • Handle sending and receiving email including composing and decoding emails, SMTP, POP and IMAP
  • Program the lower levels of web application programming such as FastCGI and WSGI and HTTP itself
  • Learn how to use memcached and message qeues using Python
  • Access web services using Python
  • Master multitasking with threads, forking, and asynchronous communication

Who this book is for

This book will be of interest to python programmers who need to program networked applications using Python. From web application developers, to systems integrators, to system administrators—this book has everything you need to know.

Table of Contents

  1. Introduction to Client/Server Networking
  2. UDP
  3. TCP
  4. Socket Names and DNS
  5. Network Data and Network Errors
  6. TLS and SSL
  7. Server Architecture
  8. Caches, Message Queues, and Map-Reduce
  9. HTTP
  10. Screen Scraping
  11. Web Applications
  12. E-mail Composition and Decoding
  13. SMTP
  14. POP
  15. IMAP
  16. Telnet and SSH
  17. FTP
  18. RPC
Download Now Read Online

Foundations Of Python Network Programming


Download Now Read Online

Author by : Brandon Rhodes
Languange Used : en
Release Date : 2014-10-20
Publisher by : Apress

Foundations of Python Network Programming, Third Edition, covers all of the classic topics found in the second

Twisted Network Programming Essentials


Download Now Read Online

Author by : Jessica McKellar
Languange Used : en
Release Date : 2013-03-12
Publisher by : "O'Reilly Media, Inc."

Get started with Twisted, the event-driven networking framework written in Python. With this introductory guid

Foundations Of Python Network Programming


Download Now Read Online

Author by :
Languange Used : en
Release Date : 2011
Publisher by :

Learning Python Network Programming


Download Now Read Online

Author by : Dr. M. O. Faruque Sarker
Languange Used : en
Release Date : 2015-06-17
Publisher by : Packt Publishing Ltd

Network programming has always been a demanding task. With full-featured and well documented libraries all the

Neural Network Programming With Python


Download Now Read Online

Author by : Fabio M. Soares
Languange Used : en
Release Date : 2017-04-28
Publisher by :

Build smarter programs with the power of neural networks and the simplicity of PythonAbout This Book* Make you

Python Web Programming


Download Now Read Online

Author by : Steve Holden
Languange Used : en
Release Date : 2002-01-01
Publisher by : Sams Publishing

A Python community leader teaches professionals how to integrate web applications with Python.

Foundations Of Agile Python Development


Download Now Read Online

Author by : Jeff Younker
Languange Used : en
Release Date : 2009-06-18
Publisher by : Apress

The agile development movement represents the latest advances in tools and techniques intended to boost develo

Leave a Reply