skip to navigation
skip to content

cymruwhois 1.6

Client for the service

Package Documentation

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

>>> import socket
>>> ip = socket.gethostbyname("")
>>> from cymruwhois import Client
>>> c=Client()
>>> r=c.lookup(ip)
>>> print r.asn
>>> 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