ipaddress
A module built into Python for working with IPv4 and IPv6 addresses and networks. It can convert addresses, test whether an address is private, loopback or link-local, and check masks, subnet plans and IPv6 shortening.
A module built into Python for working with IPv4 and IPv6 addresses and networks. It can convert addresses, test whether an address is private, loopback or link-local, and check masks, subnet plans and IPv6 shortening.