netaddr is a Python library that will help you manipulate various common network address representations and notations.netaddr takes the hassle out of fiddling with innumerable variations of network addresses, presenting a consistent, extensible, easy-to-use and (above all) Pythonic API.NOTE: netaddr is licensed and distributed under the terms of the BSD License.Requirements: