skip to navigation
skip to content

cymruwhois 1.6

Client for the whois.cymru.com service

Package Documentation

Perform lookups by ip address and return ASN, Country Code, and Netblock Owner::

>>> import socket
>>> ip = socket.gethostbyname("www.google.com")
>>> from cymruwhois import Client
>>> c=Client()
>>> r=c.lookup(ip)
>>> print r.asn
15169
>>> print r.owner
GOOGLE - Google Inc.



 
File Type Py Version Uploaded on Size
cymruwhois-1.6-py2-none-any.whl (md5) Python Wheel py2 2017-04-08 6KB
cymruwhois-1.6-py3-none-any.whl (md5) Python Wheel py3 2017-04-08 6KB
cymruwhois-1.6.tar.gz (md5) Source 2017-04-08 4KB