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.15.tar.gz
(2.9 kB
view hashes)
Built Distributions
Close
Hashes for cdncheck-1.0.0.15-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a14ffb4874ccaebaf0215a9dde990eeefb6f48cbb81503e4889ab8518c69815 |
|
MD5 | 10bed6e2109855bb4c273b2ad463a7d9 |
|
BLAKE2b-256 | e89375388f66421c49b37bb094aa7455265b719d11635478fce1bb7f8a211015 |
Close
Hashes for cdncheck-1.0.0.15-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bf5747dfbc1c655df91d680ec23b906c4469e079c9852e05814020004b530bc |
|
MD5 | 77e2c948cb8a25bd0e005838c3a88c8b |
|
BLAKE2b-256 | 88ed6c7cec412c1592c794e9e0409d8fc66edf8303ea78cc0dea2cef497adb77 |
Close
Hashes for cdncheck-1.0.0.15-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 168b285fcdf21a333b6453a05014869e18b2f10bedd12db49baf46777e95a177 |
|
MD5 | 2b2034f75891ff2d6c0fcc8aa1a71505 |
|
BLAKE2b-256 | 2586843573bc43817531e58f3bf3d916810b1f3df8c982553b07737d580672e5 |
Close
Hashes for cdncheck-1.0.0.15-cp38-cp38-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06f6f7d163f871e30f3f561237707eec39b1ec47eb5780ab03d1e4b0fc15e98e |
|
MD5 | 074acb9812880141e305f93c613d0710 |
|
BLAKE2b-256 | e599e1602aec3fca06fcb10861032926bc5a9f62a7dd17ffec9f6daf1745b9f6 |
Close
Hashes for cdncheck-1.0.0.15-cp37-cp37m-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 533e97de5b17ceb24ae31a7d8644152faaf7bfa6fdf3081e3f9151c8fb8cc959 |
|
MD5 | 88ea1b2c650d49fb60ab82add1c880fa |
|
BLAKE2b-256 | a6ff1da9996ba99dfcd8e22a62036d86c4ff9e5bf72a2cd6370c89ad2591d2ec |