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.10.tar.gz
(2.9 kB
view hashes)
Built Distributions
Close
Hashes for cdncheck-1.0.0.10-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc6473e6325497366e3b79c012de1e8f8c218e1b894c58434344b3f844752b1f |
|
MD5 | 91dc842c53f64190c0c60105a64b2f57 |
|
BLAKE2b-256 | 8ed27c51efcd6b011e4d41d55572b9f050a46c2224a0820793615256ac077a62 |
Close
Hashes for cdncheck-1.0.0.10-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51afbc8583cfb2110e4d9c80fce7d579ff6330e278e52ed5b661a6b95e9e21f4 |
|
MD5 | 9f878de5a8832ea72c52de96d4ebe57f |
|
BLAKE2b-256 | bdcbad331a514c91ac2e1e72ac4a3da6b3f4b07646f526dd32c80c1e7d439278 |
Close
Hashes for cdncheck-1.0.0.10-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cdbaa8ce172dd9081ef928046e8cfd48d6113eada8002fee69b2e8e3793646a |
|
MD5 | 2cd575c615e937af7e53eb856b0100d4 |
|
BLAKE2b-256 | 3adcd0ee8f29d215e11213ec22605e966f2e3b7f0d97d7f4b4cc1262302e1bb1 |
Close
Hashes for cdncheck-1.0.0.10-cp38-cp38-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aa7d63bc3230ae402cba9a24edf69061722a810532fec1b00bed91ebcd72232 |
|
MD5 | 5c1e29c1bb0c68ddaf962da5bd95887b |
|
BLAKE2b-256 | f36ae60ced3914761f44fb7ebfa297dadf45c04f6cd9a58f26def39e27786c84 |
Close
Hashes for cdncheck-1.0.0.10-cp37-cp37m-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b53acf4a97d9a13de892e4e8b8540258fe5e1a691179a315fc616d487af20128 |
|
MD5 | 737e86ef78e5f4d1fd45867cf9b63e94 |
|
BLAKE2b-256 | a09e6ede52c2771249a7383d637c57143de2d1da24dc0a0db7cbd60a2d23705b |