Name | cdnmon JSON |
Version |
0.5.13
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2024-06-14 08:23:54 |
maintainer | None |
docs_url | None |
author | Yihang Wang |
requires_python | <4.0,>=3.10 |
license | None |
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
- [ ] Add `unchanged_since` in `index.html`
- [ ] Change `updated_at` in `index.html`
- [ ] Add example code in `index.html`
- [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/6c/f9/b5dcb5e81cf7811bf38c17b2c29c1f8e73ca610a60ab0378a1493437d9a9/cdnmon-0.5.13.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- [ ] Add `unchanged_since` in `index.html`\n- [ ] Change `updated_at` in `index.html`\n- [ ] Add example code in `index.html`\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.13",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2833a1a0d8242cdcb15abca76e6e2772685b69f95d7e14f93faceac5dadd8ab2",
"md5": "622fb011778d453b055e79833d881bd8",
"sha256": "dccf1a2ea2c2c4228bf694b92613df3f2b7eb4fdfb6165a2c5eac812db91ea99"
},
"downloads": -1,
"filename": "cdnmon-0.5.13-py3-none-any.whl",
"has_sig": false,
"md5_digest": "622fb011778d453b055e79833d881bd8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 53875,
"upload_time": "2024-06-14T08:23:51",
"upload_time_iso_8601": "2024-06-14T08:23:51.626086Z",
"url": "https://files.pythonhosted.org/packages/28/33/a1a0d8242cdcb15abca76e6e2772685b69f95d7e14f93faceac5dadd8ab2/cdnmon-0.5.13-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6cf9b5dcb5e81cf7811bf38c17b2c29c1f8e73ca610a60ab0378a1493437d9a9",
"md5": "bd5e108eb7ed9d1dcee27eb0f17bcbdc",
"sha256": "eae4ef8fbb80b8ee785c48a6a7963e2c8b5b8f6c8d2c00db881a8e2084ada3c2"
},
"downloads": -1,
"filename": "cdnmon-0.5.13.tar.gz",
"has_sig": false,
"md5_digest": "bd5e108eb7ed9d1dcee27eb0f17bcbdc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 23571,
"upload_time": "2024-06-14T08:23:54",
"upload_time_iso_8601": "2024-06-14T08:23:54.266761Z",
"url": "https://files.pythonhosted.org/packages/6c/f9/b5dcb5e81cf7811bf38c17b2c29c1f8e73ca610a60ab0378a1493437d9a9/cdnmon-0.5.13.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-14 08:23:54",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "cdnmon"
}