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.

Source Distribution

cymruwhois-1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

cymruwhois-1.0-py2.4.egg (8.5 kB view details)

Uploaded Egg

File details

Details for the file cymruwhois-1.0.tar.gz.

File metadata

  • Download URL: cymruwhois-1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cymruwhois-1.0.tar.gz
Algorithm Hash digest
SHA256 315349f16da8670560ba69dad1cc9fd0feacd9edadb184386c4b70a37a38ceab
MD5 3d3373f0a3956a6648f5c3b046dce0c1
BLAKE2b-256 c8f09d867c586f3eed476622affd82a9a0c14d63438293fcd58885fa80815571

See more details on using hashes here.

File details

Details for the file cymruwhois-1.0-py2.4.egg.

File metadata

  • Download URL: cymruwhois-1.0-py2.4.egg
  • Upload date:
  • Size: 8.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cymruwhois-1.0-py2.4.egg
Algorithm Hash digest
SHA256 5ba78d23745a48409d735c2722c4854748ca88c0bb00215362878de7db94786c
MD5 c5f1b9a985fc2da2d52f95295a21de67
BLAKE2b-256 2a74002142a5dde6321ed10dd73f4821a4939f3ce2111ce72f4242b02ebdd495

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page