Skip to main content

A Python wrapper for ProjectDiscovery's cdncheck (https://github.com/projectdiscovery/cdncheck)

Project description

cdncheck-python

Tests

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


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.34.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distributions

cdncheck-1.0.0.34-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (4.2 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

cdncheck-1.0.0.34-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (4.2 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

cdncheck-1.0.0.34-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (4.2 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

cdncheck-1.0.0.34-cp311-cp311-musllinux_1_1_x86_64.whl (5.2 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

cdncheck-1.0.0.34-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (4.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

cdncheck-1.0.0.34-cp310-cp310-musllinux_1_1_x86_64.whl (5.2 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

cdncheck-1.0.0.34-cp310-cp310-manylinux_2_35_x86_64.whl (4.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.35+ x86-64

cdncheck-1.0.0.34-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (4.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

cdncheck-1.0.0.34-cp39-cp39-musllinux_1_1_x86_64.whl (5.2 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

cdncheck-1.0.0.34-cp39-cp39-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (4.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

cdncheck-1.0.0.34-cp38-cp38-musllinux_1_1_x86_64.whl (5.2 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

cdncheck-1.0.0.34-cp38-cp38-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (4.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

cdncheck-1.0.0.34-cp37-cp37m-musllinux_1_1_x86_64.whl (5.2 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

cdncheck-1.0.0.34-cp37-cp37m-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (4.2 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page