cymruwhois 1.0
Client for the whois.cymru.com service
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 | |
- Author: Justin Azoff
- Documentation: cymruwhois package documentation
- Home Page: http://packages.python.org/cymruwhois/
- Download URL: http://github.com/JustinAzoff/python-cymruwhois/tree/master
- Keywords: ASN
- License: MIT
- Categories
- Package Index Owner: JustinAzoff
- DOAP record: cymruwhois-1.0.xml
