IPy is a Python module for handling IPv4 and IPv6 -Addresses and
Networks in a fashion similar to perl's Net::IP and friends. The
IP class allows a comfortable parsing and handling for most notations
in use for IPv4 and IPv6 Addresses and Networks.

Homepage:
https://github.com/haypo/python-ipy
