1 2 3
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.