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


Release history Release notifications

This version
History Node

1.6

History Node

1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
cymruwhois-1.6-py2-none-any.whl (6.2 kB) Copy SHA256 hash SHA256 Wheel py2 Apr 8, 2017
cymruwhois-1.6-py3-none-any.whl (6.2 kB) Copy SHA256 hash SHA256 Wheel py3 Apr 8, 2017
cymruwhois-1.6.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None Apr 8, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page