A Python wrapper for ProjectDiscovery's cdncheck (https://github.com/projectdiscovery/cdncheck)
Project description
cdncheck-python
This is a Python wrapper around ProjectDiscovery's cdncheck. It is useful for checking whether a given IP address belongs to a cloud provider, e.g. Google, Azure, etc.
Tests are run on a weekly schedule.
Installation
If you run into problems with installation, please make sure golang is installed on your system.
$ pip install cdncheck
Usage (CLI)
$ cdncheck 1.2.3.4
1.2.3.4 does not belong to a CDN
$ cdncheck 168.62.20.37
168.62.20.37 belongs to CDN "azure"
Usage (Python)
>>> from cdncheck import cdncheck
# empty string == not belonging to a CDN
>>> cdncheck('1.2.3.4')
''
>>> cdncheck('168.62.20.37')
'azure'
Project details
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
cdncheck-1.0.0.7.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for cdncheck-1.0.0.7-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d7ae3985463f556e2d2567f351bd6b1a6238f743e5e2574498ace2a85f903e7 |
|
MD5 | 1e05707d9838321e46d6bf795a33fef9 |
|
BLAKE2b-256 | 196f583d0d0c6f5595cd5319828044e158ff09f746a4a3b8d6693b4aa86781e8 |