- Saved searches
- Use saved searches to filter your results more quickly
- License
- PacktPublishing/Mastering-Python-Networking-Fourth-Edition
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Saved searches
- Use saved searches to filter your results more quickly
- jvranish/pyhnet
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- Mastering Python Networking. 4 Ed
- What you will learn
- Who this book is for
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Mastering Python Networking, Fourth Edition — Published by Packt
License
PacktPublishing/Mastering-Python-Networking-Fourth-Edition
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
This is the code repository for Mastering Python Networking Fourth Edition, published by Packt.
Utilize Python packages and frameworks for network automation,monitoring, cloud, and management
The new edition is revised and updated with Python 3.10 along with new chapters on AsyncIO and Docker containers. The book will provide examples and guidance to manage your network, improve reliability, and simplify your task. The fourth edition also includes network context examples of Ansible, Flask, Elasticsearch, Git, GitLab and more.
- Use Python to interact with network devices
- Understand Docker as a tool that you can use for the development and deployment
- Use Python and various other tools to obtain information from the network
- Learn how to use ELK for network data analysis
- Utilize Flask and construct high-level API to interact with in-house applications
- Discover the new AsyncIO feature and its concepts in Python 3
- Explore Test-Driven Development concepts and use PyTest to drive code test coverage
- Understand how GitLab can be used with DevOps practices in networking
- Review of TCP/IP Protocol Suite and Python
- Low-Level Network Device Interactions
- APIs and Intent-Driven Networking
- The Python Automation Framework – Ansible
- Docker Containers for Network Engineers
- Network Security with Python
- Network Monitoring with Python – Part 1
- Network Monitoring with Python – Part 2
- Building Network Web Services with Python
- Introduction to Async IO
- AWS Cloud Networking
- Azure Cloud Networking
- Network Data Analysis with Elastic Stack
- Working with Git
- Continuous Integration with GitLab
- Test-Driven Development for Networks
If you feel this book is for you, get your copy today!
Following is what you need for this book:
To get the most out of this book, some basic hands-on network operation knowledge and Python knowledge is recommended. Most of the chapters can be read in any order, except for Chapter 4 and Chapter 5, which introduce base technologies that will be used later in the book. Besides the basic software and hardware tools introduced at the beginning of the book, new tools relevant to each of the chapters will be introduced in the respective chapters. It is highly recommended to follow and practice the examples shown in your network lab.
Refer to the Errata for corrections of typos and other mistakes and improvements like refactoring code.
Know more on the Discord server
You can get more engaged on the discord server for more latest updates and discussions in the community at Discord link as text here
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost. Simply click on the link to claim your free PDF. https://packt.link/free-ebook/9781803234618
We also provide a PDF file that has color images of the screenshots/diagrams used in this book at «https://packt.link/D2Ttl»
Eric Chou is a seasoned technologist with over 20 years of experience. He has worked on some of the largest networks in the industry while working at Amazon, Azure, and other Fortune 500 companies. Eric is passionate about network automation, Python, DevOps, and helping companies build better security postures. In addition to being the author of Mastering Python Networking (Packt), he is the author or co-author of other top-selling books and highly-rated online classes. Eric is the primary inventor or co-inventor for three U.S. patents in IP telephony and networking. He shares his deep interest in technology through his books, classes, blog, and contributes to some of the popular Python open source projects.
About
Mastering Python Networking, Fourth Edition — Published by Packt
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
A high level python networking library.
jvranish/pyhnet
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
pyhnet: a high level python networking library
Goal: to make networking in python much easier than it currently is.
- An easier to use TCP socket that can do almost anything the standard socket could
- Consistent error messages between platforms
- Unblock blocking operations on .close()
- Easy multiplexing of streams
- Easy reply/wait for reply
- Optional automatic pickling of messages
- Remote proxy objects. you can send a proxy of a python object to the other side any methods called on the remote proxy will be sent through the connection and called on the local object. Any exceptions thrown in the call will be packaged up and sent back.
There are a couple examples in example.py that should get you going.
pyhnet starts with the plain python sockets (which have a quite varying behavior between platforms) and adds a simple wrapper around it that gives 98% of the functionality of the plain sockets, but is much easier to use and behaves consistently across platforms. Specifically, exceptions raised should always be the same for a given type of error and .close() will always unblock any blocking socket operations.
pyhnet provides several other wrappers than can be stacked together around the lower level byte stream to convert it to a packet stream, replyable packet stream or a pickled replyable packet stream. (the last, called HNetTCPSocket, is the default)
I’m planning on adding support for UDP eventually but haven’t gotten around to it yet. If you have a burning need for it let me know; it shouldn’t be very hard to add it.
Sorry the documentation is sparse, but the source is relatively readable (and short)
Mastering Python Networking. 4 Ed
Networks in your infrastructure set the foundation for how your application can be deployed, maintained, and serviced. Python is the ideal language for network engineers to explore tools that were previously available to systems engineers and application developers. In Mastering Python Networking, Fourth edition, you’ll embark on a Python-based journey to transition from a traditional network engineer to a network developer ready for the next generation of networks.
This new edition is completely revised and updated to work with the latest Python features and DevOps frameworks. In addition to new chapters on introducing Docker containers and Python 3 Async IO for network engineers, each chapter is updated with the latest libraries with working examples to ensure compatibility and understanding of the concepts.
Starting with a basic overview of Python, the book teaches you how it can interact with both legacy and API-enabled network devices. You will learn to leverage high-level Python packages and frameworks to perform network automation tasks, monitoring, management, and enhanced network security, followed by AWS and Azure cloud networking. You will use Git for code management, GitLab for continuous integration, and Python-based testing tools to verify your network.
What you will learn
- Use Python to interact with network devices
- Understand Docker as a tool that you can use for the development and deployment
- Use Python and various other tools to obtain information from the network
- Learn how to use ELK for network data analysis
- Utilize Flask and construct high-level API to interact with in-house applications
- Discover the new AsyncIO feature and its concepts in Python 3
- Explore test-driven development concepts and use PyTest to drive code test coverage
- Understand how GitLab can be used with DevOps practices in networking
Who this book is for
Mastering Python Networking, Fourth edition is for network engineers, developers, and SREs who want to learn Python for network automation, programmability, monitoring, cloud, and data analysis. Network engineers who want to transition from manual to automation-based networks using the latest DevOps tools will also get a lot of useful information from this book.
Basic familiarity with Python programming and networking-related concepts such as Transmission Control Protocol/Internet Protocol (TCP/IP) will be helpful in getting the most out of this book.
Исходный код: Перейти
Если вам понравилась эта книга поделитесь ею с друзьями, тем самым вы помогаете нам развиваться и добавлять всё больше интересных и нужным вам книг!