cdnmon


Namecdnmon JSON
Version 0.5.1 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-05-16 01:19:15
maintainerNone
docs_urlNone
authorYihang Wang
requires_python<4.0,>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Introduction

This project provides IP range data of multiple CDN vendors via a Python package named `cdnmon`.

## Installation

```
pip install -i https://pypi.org/simple/ cdnmon
```

## Usage


```python
from cdnmon import CDN

# Get a CDN by name
cloudflare = CDN("cloudflare")

# Get the IP ranges of a specific CDN
cloudflare.ipv4_prefixes()
cloudflare.ipv6_prefixes()

# Get an example subscriber domain of the given CDN
cloudflare.subscribers()
```

## TODO

- [ ] Support downloading ingress / egress nodes list
- [x] Add type annotations

## FAQ

### How to obtain an access token?

Please contact <wangyihanger@gmail.com>.


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "cdnmon",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Yihang Wang",
    "author_email": "wangyihanger@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/02/30/dba999d5153d9cf9f4c54cb127a3ca617059cbb4eee8c6a5717bd9052786/cdnmon-0.5.1.tar.gz",
    "platform": null,
    "description": "## Introduction\n\nThis project provides IP range data of multiple CDN vendors via a Python package named `cdnmon`.\n\n## Installation\n\n```\npip install -i https://pypi.org/simple/ cdnmon\n```\n\n## Usage\n\n\n```python\nfrom cdnmon import CDN\n\n# Get a CDN by name\ncloudflare = CDN(\"cloudflare\")\n\n# Get the IP ranges of a specific CDN\ncloudflare.ipv4_prefixes()\ncloudflare.ipv6_prefixes()\n\n# Get an example subscriber domain of the given CDN\ncloudflare.subscribers()\n```\n\n## TODO\n\n- [ ] Support downloading ingress / egress nodes list\n- [x] Add type annotations\n\n## FAQ\n\n### How to obtain an access token?\n\nPlease contact <wangyihanger@gmail.com>.\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.5.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "78c59df412004b79596541809874cfb89a0a7aa07477297ac3c98f89323d4fb2",
                "md5": "0a43ff325e356897c5661d218d9d6c88",
                "sha256": "c0db139f738a25afdcee4bc440675c692eb2219aefb6d534c2b7e37b44765cff"
            },
            "downloads": -1,
            "filename": "cdnmon-0.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0a43ff325e356897c5661d218d9d6c88",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 27327,
            "upload_time": "2024-05-16T01:19:12",
            "upload_time_iso_8601": "2024-05-16T01:19:12.127524Z",
            "url": "https://files.pythonhosted.org/packages/78/c5/9df412004b79596541809874cfb89a0a7aa07477297ac3c98f89323d4fb2/cdnmon-0.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0230dba999d5153d9cf9f4c54cb127a3ca617059cbb4eee8c6a5717bd9052786",
                "md5": "d1ac75593a96418ae09698aa18a9b1d2",
                "sha256": "9fe0a77384ccc078174fd70e4b3a3dcb7be328d065b43285949157b8d1104464"
            },
            "downloads": -1,
            "filename": "cdnmon-0.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d1ac75593a96418ae09698aa18a9b1d2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 11876,
            "upload_time": "2024-05-16T01:19:15",
            "upload_time_iso_8601": "2024-05-16T01:19:15.143186Z",
            "url": "https://files.pythonhosted.org/packages/02/30/dba999d5153d9cf9f4c54cb127a3ca617059cbb4eee8c6a5717bd9052786/cdnmon-0.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-16 01:19:15",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "cdnmon"
}
        
Elapsed time: 0.28447s