Skip to main content

Client for the whois.cymru.com service

Project description

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.



Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cymruwhois, version 1.6
Filename, size File type Python version Upload date Hashes
Filename, size cymruwhois-1.6-py2-none-any.whl (6.2 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size cymruwhois-1.6-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cymruwhois-1.6.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page