Google's IP address manipulation library
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 email@example.com. Code should include unit tests and follow the Google Python style guide: http://code.google.com/p/soc/wiki/PythonStyleGuide