cymruwhois 1.6
pip install cymruwhois
Latest version
Released:
Client for the whois.cymru.com service
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Justin Azoff
- Tags ASN
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Programming Language
- Topic
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.
>>> 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
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Justin Azoff
- Tags ASN
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file cymruwhois-1.6.tar.gz
.
File metadata
- Download URL: cymruwhois-1.6.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6c085e50e33133cd3718504521c780ed4d6b1e18e12c3bda6a0c949df7df254 |
|
MD5 | 2419257594ee34acfd591f295a1d370c |
|
BLAKE2b-256 | 54a9183163481f717d435e9a971f28ce8360e4bc2fa2adc7311ab0d321b207d9 |
File details
Details for the file cymruwhois-1.6-py3-none-any.whl
.
File metadata
- Download URL: cymruwhois-1.6-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cc3405117274138403d7f6ef60162154b8c7be5b39ac08ac06d0a650be3be94 |
|
MD5 | 0f5a7a1d42399efb96fc5e0ff3e014fe |
|
BLAKE2b-256 | a4a4b17f800098ec72d225882d5741a532c986305a7e9e46eda25fa149ff6ddf |
File details
Details for the file cymruwhois-1.6-py2-none-any.whl
.
File metadata
- Download URL: cymruwhois-1.6-py2-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0294accc8b0668abf5b33b6b5151fc3b1ff4d02f27549ffa258945ea9e53ccad |
|
MD5 | 1340593ecfce7d02028a4d009641abdf |
|
BLAKE2b-256 | ef65f2b9f0fdf0cde2ce9ee68256bcbbf8ad8a05def3cc913a53e498b165fe97 |