In this section, you will learn how to work with netaddr for network-address manipulation and interoperability between IPv4 and IPv6.
Using the netaddr module as a network-address manipulation library for Python
Operating with IPv6
The next module that we are going to study allows us to manipulate the network address and the interoperability between IPv4 and IPv6. For example, given a certain IP address, we can obtain it in the v4 and v6 formats. The easiest way to install netaddr is to use pip. Download and install the latest version from the Python repository (http://pypi.python.org/pypi/pip) and run the following command:
pip install netaddr
Also, you can see the official source code repository here: https://github.com...