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.9.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for cdncheck-1.0.0.9-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24e4ea00140cba582c123a5e64038547d5b92806002fa1331efa5fbc81c9d381 |
|
MD5 | 620659c9261d8ec5aac6adf66b60a3f6 |
|
BLAKE2b-256 | a682ca576ad378880d68a981fd18d60fa39d0c2a87acef66f8c64bef7afcc4a5 |