skip to navigation
skip to content

Not Logged In

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
cymruwhois-1.0-py2.4.egg (md5) Python Egg 2.4 2009-03-22 8KB
cymruwhois-1.0.tar.gz (md5) Source 2009-03-22 3KB
  • Downloads (All Versions):
  • 46 downloads in the last day
  • 216 downloads in the last week
  • 522 downloads in the last month