add pydiction support for netaddr module