Python Network Programming
eBook - ePub

Python Network Programming

Conquer all your networking challenges with the powerful Python language

  1. 776 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Python Network Programming

Conquer all your networking challenges with the powerful Python language

About this book

Power up your network applications with Python programming

Key Features

  • Master Python skills to develop powerful network applications
  • Grasp the fundamentals and functionalities of SDN
  • Design multi-threaded, event-driven architectures for echo and chat servers

Book Description

This Learning Path highlights major aspects of Python network programming such as writing simple networking clients, creating and deploying SDN and NFV systems, and extending your network with Mininet. You'll also learn how to automate legacy and the latest network devices. As you progress through the chapters, you'll use Python for DevOps and open source tools to test, secure, and analyze your network. Toward the end, you'll develop client-side applications, such as web API clients, email clients, SSH, and FTP, using socket programming.

By the end of this Learning Path, you will have learned how to analyze a network's security vulnerabilities using advanced network packet capture and analysis techniques.

This Learning Path includes content from the following Packt products:

  • Practical Network Automation by Abhishek Ratan
  • Mastering Python Networking by Eric Chou
  • Python Network Programming Cookbook, Second Edition by Pradeeban Kathiravelu, Dr. M. O. Faruque Sarker

What you will learn

  • Create socket-based networks with asynchronous models
  • Develop client apps for web APIs, including S3 Amazon and Twitter
  • Talk to email and remote network servers with different protocols
  • Integrate Python with Cisco, Juniper, and Arista eAPI for automation
  • Use Telnet and SSH connections for remote system monitoring
  • Interact with websites via XML-RPC, SOAP, and REST APIs
  • Build networks with Ryu, OpenDaylight, Floodlight, ONOS, and POX
  • Configure virtual networks in different deployment environments

Who this book is for

If you are a Python developer or a system administrator who wants to start network programming, this Learning Path gets you a step closer to your goal. IT professionals and DevOps engineers who are new to managing network devices or those with minimal experience looking to expand their knowledge and skills in Python will also find this Learning Path useful. Although prior knowledge of networking is not required, some experience in Python programming will be helpful for a better understanding of the concepts in the Learning Path.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weโ€™ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere โ€” even offline. Perfect for commutes or when youโ€™re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Python Network Programming by Abhishek Ratan, Eric Chou, Pradeeban Kathiravelu, Dr. M. O. Faruque Sarker in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Networking. We have over one million books available in our catalogue for you to explore.

Information

Contributors

About the authors

Abhishek Ratan has around 15 years of technical experience in networking, automation, and various ITIL processes, and has worked in various roles in different organizations. As a network engineer, security engineer, automation engineer, TAC engineer, tech lead, and content writer, he has gained a wealth of experience during the 15 years of his career. Abhishek also has a deep interest in strategy game playing, and if he is not working on technical stuff, he is busy spending time on his strategy games.
He is currently working as a Sr. Automation Engineer at ServiceNow, learning, and expanding his automation skills in the ServiceNow platform. His earlier experience includes working for companies such as Microsoft, Symantec, and Navisite,which has given him exposure to various environments.
Eric Chou is a seasoned technologist with an industry experience of over 18 years. He has worked on and helped managed some of the largest networks in the industry while working at Amazon AWS, Microsoft Azure, and other companies. Eric is passionate about network automation, Python, and helping companies build better security postures. Eric is the author of several books and online classes on networking with Python and network security. He is the proud inventor of two patents in IP telephony. Eric shares his deep interest in technology through his books, classes, and his blog, and contributes to some of the popular Python open source projects.
Pradeeban Kathiravelu is an open source evangelist. He is a Ph.D. researcher at INESC-ID Lisboa/Instituto Superior Tecnico, Universidade de Lisboa, Portugal, and Universite Catholique de Louvain, Belgium. He is a fellow of Erasmus Mundus Joint Degree in Distributed Computing (EMJD-DC), researching a software-defined approach to quality of...

Table of contents

  1. Title Page
  2. Copyright
  3. About Packt
  4. Contributors
  5. Preface
  6. Fundamental Concepts
  7. Python for Network Engineers
  8. Continuous Integration for Network Engineers
  9. SDN Concepts in Network Automation
  10. Low-Level Network Device Interactions
  11. APIs and Intent-Driven Networking
  12. The Python Automation Framework โ€“ Ansible Basics
  13. The Python Automation Framework โ€“ Beyond Basics
  14. AWS Cloud Networking
  15. Working with Git
  16. Sockets, IPv4, and Simple Client/Server Programming
  17. Multiplexing Socket I/O for Better Performance
  18. IPv6, Unix Domain Sockets, and Network Interfaces
  19. Programming with HTTP for the Internet
  20. Email Protocols, FTP, and CGI Programming
  21. Programming Across Machine Boundaries
  22. Working with Web Services โ€“ SOAP, and REST
  23. Network Monitoring and Security
  24. Network Modeling
  25. Authentication, Authorization, and Accounting (AAA)
  26. Open and Proprietary Networking Solutions
  27. NFV and Orchestration โ€“ A Larger Ecosystem
  28. Programming the Internet
  29. Other Books You May Enjoy