cdncheck


Namecdncheck JSON
Version 1.0.0.34 PyPI version JSON
download
home_pagehttps://github.com/blacklanternsecurity/cdncheck-python
SummaryA Python wrapper for ProjectDiscovery's cdncheck (https://github.com/projectdiscovery/cdncheck)
upload_time2023-01-11 21:43:11
maintainer
docs_urlNone
authorTheTechromancer
requires_python>=3.7,<4.0
licenseGPL-3.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # `cdncheck-python`

[![Tests](https://github.com/blacklanternsecurity/cdncheck-python/actions/workflows/tests.yml/badge.svg?branch=stable)](https://github.com/blacklanternsecurity/cdncheck-python/actions?query=workflow%3A"tests")

This is a Python wrapper around ProjectDiscovery's [cdncheck](https://github.com/projectdiscovery/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.
```bash
$ pip install cdncheck
```

## Usage (CLI)
```bash
$ 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)
```python
>>> from cdncheck import cdncheck
# empty string == not belonging to a CDN
>>> cdncheck('1.2.3.4')
''
>>> cdncheck('168.62.20.37')
'azure'
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/blacklanternsecurity/cdncheck-python",
    "name": "cdncheck",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "TheTechromancer",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/68/d0/b01d5b682244ce51f458be6d1cc10a104fb84817d5878dacc32b237d9ee4/cdncheck-1.0.0.34.tar.gz",
    "platform": null,
    "description": "# `cdncheck-python`\n\n[![Tests](https://github.com/blacklanternsecurity/cdncheck-python/actions/workflows/tests.yml/badge.svg?branch=stable)](https://github.com/blacklanternsecurity/cdncheck-python/actions?query=workflow%3A\"tests\")\n\nThis is a Python wrapper around ProjectDiscovery's [cdncheck](https://github.com/projectdiscovery/cdncheck). It is useful for checking whether a given IP address belongs to a cloud provider, e.g. Google, Azure, etc. \n\nTests are run on a weekly schedule.\n\n## Installation\nIf you run into problems with installation, please make sure golang is installed on your system.\n```bash\n$ pip install cdncheck\n```\n\n## Usage (CLI)\n```bash\n$ cdncheck 1.2.3.4\n1.2.3.4 does not belong to a CDN\n\n$ cdncheck 168.62.20.37\n168.62.20.37 belongs to CDN \"azure\"\n```\n\n## Usage (Python)\n```python\n>>> from cdncheck import cdncheck\n# empty string == not belonging to a CDN\n>>> cdncheck('1.2.3.4')\n''\n>>> cdncheck('168.62.20.37')\n'azure'\n```\n\n",
    "bugtrack_url": null,
    "license": "GPL-3.0",
    "summary": "A Python wrapper for ProjectDiscovery's cdncheck (https://github.com/projectdiscovery/cdncheck)",
    "version": "1.0.0.34",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "706b028c7015b1bfe643e7e54c29024463039b8228ef99aac5f43ba9a3c8c0c3",
                "md5": "5ac652b51f9b8c3e9cea83bf22d1e177",
                "sha256": "ca2ed5c3855a352f76f3d6ae36df14f88c45b0562e912061eee209ae709c19fb"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "5ac652b51f9b8c3e9cea83bf22d1e177",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7,<4.0",
            "size": 4203122,
            "upload_time": "2023-01-11T21:42:49",
            "upload_time_iso_8601": "2023-01-11T21:42:49.400299Z",
            "url": "https://files.pythonhosted.org/packages/70/6b/028c7015b1bfe643e7e54c29024463039b8228ef99aac5f43ba9a3c8c0c3/cdncheck-1.0.0.34-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "de1ebcd7df0d7c3857c4efc5d26ff3005aebeb99490a7501819a3b61681c13fc",
                "md5": "044d11978283da81c93c04af13639f7c",
                "sha256": "f28be46f7e17a4fce0731a8f2a3b560e221bfea81281550ef776dbb5bb3926af"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34-cp310-cp310-manylinux_2_35_x86_64.whl",
            "has_sig": false,
            "md5_digest": "044d11978283da81c93c04af13639f7c",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7,<4.0",
            "size": 3984204,
            "upload_time": "2023-01-11T21:42:51",
            "upload_time_iso_8601": "2023-01-11T21:42:51.255049Z",
            "url": "https://files.pythonhosted.org/packages/de/1e/bcd7df0d7c3857c4efc5d26ff3005aebeb99490a7501819a3b61681c13fc/cdncheck-1.0.0.34-cp310-cp310-manylinux_2_35_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "57dd686d12418c43a7ee3735133cc2b994b948ffd4090aa8e48297e671fac369",
                "md5": "8d7843dc7c2ac4264d04fd0c21ba9ccf",
                "sha256": "aa93e6a14b97be0d0cc53c044076da18fb681d83c39bcc2344c69c995049cc19"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34-cp310-cp310-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "8d7843dc7c2ac4264d04fd0c21ba9ccf",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7,<4.0",
            "size": 5212036,
            "upload_time": "2023-01-11T21:42:52",
            "upload_time_iso_8601": "2023-01-11T21:42:52.815507Z",
            "url": "https://files.pythonhosted.org/packages/57/dd/686d12418c43a7ee3735133cc2b994b948ffd4090aa8e48297e671fac369/cdncheck-1.0.0.34-cp310-cp310-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5d32085d7032450b1d20c219fbdea2f6400f4da02642857f2dcf8b479ee36aee",
                "md5": "fc42110345a9651459e15e28438eaabd",
                "sha256": "2ae8645c38bb9eee5ed97eb3d395fc2cd752b30a4aff9f44f815131534092252"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "fc42110345a9651459e15e28438eaabd",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7,<4.0",
            "size": 4203126,
            "upload_time": "2023-01-11T21:42:54",
            "upload_time_iso_8601": "2023-01-11T21:42:54.186140Z",
            "url": "https://files.pythonhosted.org/packages/5d/32/085d7032450b1d20c219fbdea2f6400f4da02642857f2dcf8b479ee36aee/cdncheck-1.0.0.34-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8a9b799d444490a9ff16c605572918d8ce408a8edc15f4e88f15ffdf6b106455",
                "md5": "b2f117e1542aef1f32682bc90264445c",
                "sha256": "c210c833f109212fbb60cba63fbb5ecad0de5343a802ef12fe20464ac00f16e8"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34-cp311-cp311-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "b2f117e1542aef1f32682bc90264445c",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.7,<4.0",
            "size": 5212045,
            "upload_time": "2023-01-11T21:42:55",
            "upload_time_iso_8601": "2023-01-11T21:42:55.657693Z",
            "url": "https://files.pythonhosted.org/packages/8a/9b/799d444490a9ff16c605572918d8ce408a8edc15f4e88f15ffdf6b106455/cdncheck-1.0.0.34-cp311-cp311-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dc37aa9053dfb5a265ecb08502fce7ab9f9641c5281694a1b5f1853eaddebe52",
                "md5": "b26f57c9efbf42a395ad26f7f617c543",
                "sha256": "b898e3bab6084a78a219a909f94107ad4f9c338c07ccf3af12363eef1dc78798"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34-cp37-cp37m-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "b26f57c9efbf42a395ad26f7f617c543",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7,<4.0",
            "size": 4203126,
            "upload_time": "2023-01-11T21:42:57",
            "upload_time_iso_8601": "2023-01-11T21:42:57.347686Z",
            "url": "https://files.pythonhosted.org/packages/dc/37/aa9053dfb5a265ecb08502fce7ab9f9641c5281694a1b5f1853eaddebe52/cdncheck-1.0.0.34-cp37-cp37m-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "962a15d1ef47b19d97785d7b7978b65a293e39df372568e4f8eede16a6bcd447",
                "md5": "c641257c6db0f0df5ed9fb3f6bc6bb32",
                "sha256": "83726813193f1a8887c24fb8d5823da4cae5b03151878d01e76c9c09f5d8081e"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34-cp37-cp37m-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c641257c6db0f0df5ed9fb3f6bc6bb32",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.7,<4.0",
            "size": 5212042,
            "upload_time": "2023-01-11T21:42:58",
            "upload_time_iso_8601": "2023-01-11T21:42:58.697427Z",
            "url": "https://files.pythonhosted.org/packages/96/2a/15d1ef47b19d97785d7b7978b65a293e39df372568e4f8eede16a6bcd447/cdncheck-1.0.0.34-cp37-cp37m-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "046e30ba3b37703f137543a740b5547357cebfb639226c6f78fb48b1c29b997f",
                "md5": "759ebee6503dee89ace16243e9009db1",
                "sha256": "568d62cba12d25f3e98648be0213f5b8b634dbb43fccf77c34d1ec0a8b94e556"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34-cp38-cp38-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "759ebee6503dee89ace16243e9009db1",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7,<4.0",
            "size": 4203122,
            "upload_time": "2023-01-11T21:43:00",
            "upload_time_iso_8601": "2023-01-11T21:43:00.147916Z",
            "url": "https://files.pythonhosted.org/packages/04/6e/30ba3b37703f137543a740b5547357cebfb639226c6f78fb48b1c29b997f/cdncheck-1.0.0.34-cp38-cp38-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "40a29e526a2a2c44f36cd8adb0e1e051967043107376f86ccbad8a12cf68a838",
                "md5": "292ab2c6ff3b44f2482bbf12462d0896",
                "sha256": "fe23a9719c65376598f51013053ea72dc1ec0b217b1978aa751b124fb5725b3a"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34-cp38-cp38-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "292ab2c6ff3b44f2482bbf12462d0896",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7,<4.0",
            "size": 5212041,
            "upload_time": "2023-01-11T21:43:01",
            "upload_time_iso_8601": "2023-01-11T21:43:01.600058Z",
            "url": "https://files.pythonhosted.org/packages/40/a2/9e526a2a2c44f36cd8adb0e1e051967043107376f86ccbad8a12cf68a838/cdncheck-1.0.0.34-cp38-cp38-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8017ca1ff5a0dea4473b9daacd7c905c99b9df4c4b5826f9e13024213743bf33",
                "md5": "f1893f50fcb5fbeebdb41d53b1b8dc02",
                "sha256": "2345f540f2de43dd658ec4f290b8687739310178e8ca6766d6d213563699e1ff"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34-cp39-cp39-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "f1893f50fcb5fbeebdb41d53b1b8dc02",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7,<4.0",
            "size": 4203119,
            "upload_time": "2023-01-11T21:43:03",
            "upload_time_iso_8601": "2023-01-11T21:43:03.063896Z",
            "url": "https://files.pythonhosted.org/packages/80/17/ca1ff5a0dea4473b9daacd7c905c99b9df4c4b5826f9e13024213743bf33/cdncheck-1.0.0.34-cp39-cp39-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "700231a9a3fe3f2b6cd87ab1fcf7c59626b5521a3ef85adff1c501e5cfd650d8",
                "md5": "b6a64a943624f5fcfddbaf7acef36dfb",
                "sha256": "37d86287f9ca723939def7aa4ff76115b83af60f758a9383d68651bbdd960b93"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34-cp39-cp39-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "b6a64a943624f5fcfddbaf7acef36dfb",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7,<4.0",
            "size": 5212036,
            "upload_time": "2023-01-11T21:43:05",
            "upload_time_iso_8601": "2023-01-11T21:43:05.054144Z",
            "url": "https://files.pythonhosted.org/packages/70/02/31a9a3fe3f2b6cd87ab1fcf7c59626b5521a3ef85adff1c501e5cfd650d8/cdncheck-1.0.0.34-cp39-cp39-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "198cf763e0bc0f3d148242dbcdc0edb478de2fbb8869b20c2ccfcebe6abe32ec",
                "md5": "41854b40e9f64ceb1b62f752dcd2974c",
                "sha256": "e31b9f0492ff5284b66f5fa32215f53d4e5411b87641af838c1d696bdd2e48e2"
            },
            "downloads": -1,
            "filename": "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",
            "has_sig": false,
            "md5_digest": "41854b40e9f64ceb1b62f752dcd2974c",
            "packagetype": "bdist_wheel",
            "python_version": "pp37",
            "requires_python": ">=3.7,<4.0",
            "size": 4203128,
            "upload_time": "2023-01-11T21:43:06",
            "upload_time_iso_8601": "2023-01-11T21:43:06.525603Z",
            "url": "https://files.pythonhosted.org/packages/19/8c/f763e0bc0f3d148242dbcdc0edb478de2fbb8869b20c2ccfcebe6abe32ec/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",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a0aaff927d974718cd1a0058b717e5b00fff4c3575f0913a54ca002de1dd44a5",
                "md5": "fae2986eda816dc8602ceeb5b80016c3",
                "sha256": "41633329f513373dbb1f74b4d2927711b87620c16b38754b045b97cea69b9bd7"
            },
            "downloads": -1,
            "filename": "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",
            "has_sig": false,
            "md5_digest": "fae2986eda816dc8602ceeb5b80016c3",
            "packagetype": "bdist_wheel",
            "python_version": "pp38",
            "requires_python": ">=3.7,<4.0",
            "size": 4203129,
            "upload_time": "2023-01-11T21:43:08",
            "upload_time_iso_8601": "2023-01-11T21:43:08.646220Z",
            "url": "https://files.pythonhosted.org/packages/a0/aa/ff927d974718cd1a0058b717e5b00fff4c3575f0913a54ca002de1dd44a5/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",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "74ca2266460a2a0d7ac4b63a19d09abd87e3be4b21abfc6c4d0e66d3b1e356fa",
                "md5": "275b34b970621acc2c0e40c16121f2c4",
                "sha256": "517dd0158ae5f0e64d8e6ce552d63a90fdf02974f30e5da8881e7715cd02678c"
            },
            "downloads": -1,
            "filename": "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",
            "has_sig": false,
            "md5_digest": "275b34b970621acc2c0e40c16121f2c4",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.7,<4.0",
            "size": 4203128,
            "upload_time": "2023-01-11T21:43:10",
            "upload_time_iso_8601": "2023-01-11T21:43:10.651469Z",
            "url": "https://files.pythonhosted.org/packages/74/ca/2266460a2a0d7ac4b63a19d09abd87e3be4b21abfc6c4d0e66d3b1e356fa/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",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "68d0b01d5b682244ce51f458be6d1cc10a104fb84817d5878dacc32b237d9ee4",
                "md5": "ae2d5455ae3000ff65ba80203aa41b85",
                "sha256": "5ee4b227e5c97903b50cebe10fabaeb1962fe81cdbde5e308a02e0c1791e2074"
            },
            "downloads": -1,
            "filename": "cdncheck-1.0.0.34.tar.gz",
            "has_sig": false,
            "md5_digest": "ae2d5455ae3000ff65ba80203aa41b85",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 3026,
            "upload_time": "2023-01-11T21:43:11",
            "upload_time_iso_8601": "2023-01-11T21:43:11.832145Z",
            "url": "https://files.pythonhosted.org/packages/68/d0/b01d5b682244ce51f458be6d1cc10a104fb84817d5878dacc32b237d9ee4/cdncheck-1.0.0.34.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-11 21:43:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "blacklanternsecurity",
    "github_project": "cdncheck-python",
    "lcname": "cdncheck"
}
        
Elapsed time: 0.04133s