ipaddr.py is a library for working with IP addresses, both IPv4 and IPv6. It was developed by Google for internal use, and is now open source. Project home page: http://code.google.com/p/ipaddr-py/ Please send contributions to ipaddr-py-dev@googlegroups.com. Code should include unit tests and follow the Google Python style guide: http://code.google.com/p/soc/wiki/PythonStyleGuide