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.
>>> 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.
Metadata
Release files for cymruwhois 1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cymruwhois-1.6.tar.gz | 4.4 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cymruwhois-1.6-py3-none-any.whl | Python 3 | none | any | Details |
| cymruwhois-1.6-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 16.7 kB
Release files / cymruwhois-1.6.tar.gz
| Download URL | cymruwhois-1.6.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6c085e50e33133cd3718504521c780ed4d6b1e18e12c3bda6a0c949df7df254
|
|
BLAKE2b-256 checksum How to use checksums |
54a9183163481f717d435e9a971f28ce8360e4bc2fa2adc7311ab0d321b207d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cymruwhois-1.6-py3-none-any.whl
| Download URL | cymruwhois-1.6-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2cc3405117274138403d7f6ef60162154b8c7be5b39ac08ac06d0a650be3be94
|
|
BLAKE2b-256 checksum How to use checksums |
a4a4b17f800098ec72d225882d5741a532c986305a7e9e46eda25fa149ff6ddf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cymruwhois-1.6-py2-none-any.whl
| Download URL | cymruwhois-1.6-py2-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
0294accc8b0668abf5b33b6b5151fc3b1ff4d02f27549ffa258945ea9e53ccad
|
|
BLAKE2b-256 checksum How to use checksums |
ef65f2b9f0fdf0cde2ce9ee68256bcbbf8ad8a05def3cc913a53e498b165fe97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |