skip to navigation
skip to content

cymruwhois 1.0

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 # downloads
cymruwhois-1.0-py2.4.egg (md5) Python Egg 2.4 2009-03-22 8KB 620
cymruwhois-1.0.tar.gz (md5) Source 2009-03-22 3KB 750