Google's IP address manipulation library
pip install ipaddr==2.1.11
ipaddr.py is a library for working with IP addresses, both IPv4 and IPv6. It has been superseded by ipaddress from the Python 3 standard library, and its Python 2 backport.