No project description provided
Project description
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
from cdnmon import CDN
# Get a CDN by name
cloudflare = CDN("cloudflare")
# Get the latest version of the CDN data
cloudflare.update()
# 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
inindex.html
- Change
updated_at
inindex.html
- Add example code in
index.html
- Add type annotations
FAQ
How to obtain an access token?
Please contact wangyihanger@gmail.com.
References
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
cdnmon-0.5.14.tar.gz
(24.5 kB
view details)
Built Distribution
cdnmon-0.5.14-py3-none-any.whl
(55.8 kB
view details)
File details
Details for the file cdnmon-0.5.14.tar.gz
.
File metadata
- Download URL: cdnmon-0.5.14.tar.gz
- Upload date:
- Size: 24.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d39818fd41fd0455bb4b519228d5dffd54754d7308748c73e13c43e1c1366c8 |
|
MD5 | f5be1201dec1d6db6acd3510d67f9214 |
|
BLAKE2b-256 | d4ae6d3da278416bb99664c56c6a315ca5e4aff21ebd5facf40522b297dc25bd |
File details
Details for the file cdnmon-0.5.14-py3-none-any.whl
.
File metadata
- Download URL: cdnmon-0.5.14-py3-none-any.whl
- Upload date:
- Size: 55.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 416ba08174de884fe4e260acb03b2b5244500aa9cc5651a8924a7e45fcb6859c |
|
MD5 | f7c12904fa0df087be317f561b49b561 |
|
BLAKE2b-256 | 7e641e7bc8c2b4eee3d33c4b8c5e818cc3eee1dca7400009dd3a6bebeeb7d3e2 |