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.24.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for cdncheck-1.0.0.24-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 781261953e4d374d1a8df7eb48661b78dad95c7e5ef46b1189695d0937efbbd2 |
|
MD5 | c640d677f713d644863c8f1ac9707427 |
|
BLAKE2b-256 | 9ed0016ce91b76eaf53670d881a9b1dd07f457499d631ec24aeb3c2a4a4ddd63 |