Python Network Programming Cookbook
By M. O. Faruque Sarker
Publisher: Packt Publishing
Final Release Date: March 2014
Pages: 234

In Detail

Python is an excellent language to use to write code and have fun by prototyping applications quickly. The presence of lots of third-party libraries, also known as batteries, makes it even more easier and faster to prototype an application or to implement a new algorithm. If you are interested in creating the building blocks for many practical web and networking applications that rely on networking protocols then this book is a must-have.

This book highlights major aspects of network programming in Python starting from writing simple networking clients, to developing complex screen-scraping and network security monitoring scripts. It creates the building blocks for many practical web and networking applications that rely on various networking protocols. This book presents the power and beauty of Python in solving the numerous real-world tasks in the area of network programming, system and network administration, network monitoring, and web-application development.

This book develops your ability to solve a wide range of network programming tasks in Python. We will start by exploring the Python standard library functions to create client/server network and manipulate your local networking resources available under both IPv4 and IPv6. The practical focus continues with creating web and email clients, scraping web pages, fetching information from various websites, and searching for information on the Web such as Amazon, Flickr, and other sites. It further develops your skills to analyze your network security vulnerabilities using advanced network packet capture and analysis techniques.

Approach

An easy-to-follow guide full of hands-on examples on real-world networking tasks. It covers the advanced topics of network programming in Python using a set of selected recipes.

Who this book is for

If you are a network programmer, system/network administrator, or a web application developer, this book is ideal for you. You should have a basic familiarity with the Python programming language and TCP/IP networking concepts. However if you are a novice, you will develop an understanding of the concepts as you progress with this book. This book will serve as a supplementary material for developing hands-on skills in any academic course on network programming.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyPython Network Programming Cookbook
 
4.5

(based on 2 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 2 customers

Sort by

Displaying reviews 1-2

Back to top

 
4.0

Whether you need it depends on your task

By mko

from Poland

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Easy to understand

Cons

    Best Uses

    • Intermediate

    Comments about oreilly Python Network Programming Cookbook:

    Python Network Cookbook provides you with the samples related to the range of networking topics. Whether you will benefit from it depends heavily on your tasks. The point here is that the range of samples is really huge. Starting with data manipulation required for network based transfer, through socket based networking, interfaces related samples, IPv6, to topics covering HTTP, IMAP, and web services.

    Now, don't get me wrong, but the percentage of the book you will benefit from heavily depends on your day to day work. If you deal with http stuff all the time, you will find half of the book entertaining. On the other hand, if you do some low level development and you want to design your own means of transportation based on sockets, first half of the book will be of your interest.

    What I have found particularly useful for me were the http related samples, web service handling, and port forwarding. But these are things that I can benefit from directly.

    For sure, this book will be really interesting for the students who have to deal with networking related lectures. You will be able to jump directly into virtually any network related topic.

    The book has one drawback. Some of the samples are Linux based. I am pretty sure you can use them anyway by using MacPorts or Cygwin, but still, it might be slightly frustrating for Windows and Mac users that some samples are marked as "Linux only".

    Before you buy the book, make a simple calculation how much you can benefit from it. If you decide that more than half of the book is useful for you – go ahead.

     
    5.0

    Python Network Programming Cookbook – re

    By Holmes

    from Glumsoe, Denmark

    About Me Designer, Developer, Educator

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate
      • Novice

      Comments about oreilly Python Network Programming Cookbook:

      Reviewing books can be a tedious task in it self, and my expectations for reviewing Dr. M. O. Faruque Sarker's Python Network Programming Cookbook, was beyond the exhaustion level even before I had turned the first page. After all - it is a book about network programming, sockets, Client/Server Programming and a lot more – which usually not belongs to the horror literature, but merely is a literal sleeping pill.

      It took me only a few minutes of reading to see, that this time my expectations would not be fulfilled. With a rarely seen clarity, Dr. M. O. Faruque Sarker describes the task, presents the solution and explains the functionality of each problem in plain words, so everybody can understand what the code actually do. I am virtually on the edge to state, that even without previous knowledge of Python, you can benefit from the examples, but it does help to know at least the basics.

      The book is a cookbook in the best sense. You can easily read selected chapters without prior knowledge of previous chapters and, each chapter clarify which modules are needed before presenting the examples. This is absolutely a great plus and combined with an easy to read concept, this book is one of the best I have seen in years. Dr. M. O. Faruque Sarker's way of explaining each example can be compared to the concept: Hit and run. You hit the problem, see the solution and runs for the nearest laptop to derive even more sophisticated solutions, with you newly acquired knowledge.

      This book is a must for Python programmers that want to explore the versatility of Python and take another step forward in the Python world.

      However, before adding this book to your library a little warning, which also was missing on the books cover: According to the standard Python cookbook, some of the content I the book can be extremely addictive.

      Claus Holm Larsen

      CEO and founder of Holmes WebDesign.
      Founder of the Python Programming Society on Facebook.

      Displaying reviews 1-2

      Back to top

       
      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Ebook: $26.99
      Formats:  ePub, Mobi, PDF