Skip to main content

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 in index.html
  • Change updated_at in index.html
  • Add example code in index.html
  • Add type annotations

FAQ

How to obtain an access token?

Please contact wangyihanger@gmail.com.

References

Metadata

Release files for cdnmon 0.5.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdnmon 0.5.14
File Size Uploaded Provenance Actions
cdnmon-0.5.14.tar.gz 24.5 kB Without provenance Details for cdnmon-0.5.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cdnmon 0.5.14
File Interpreter ABI Platform Actions
cdnmon-0.5.14-py3-none-any.whl Python 3 none any Details for cdnmon-0.5.14-py3-none-any.whl

Total release size: 80.2 kB

Release files / cdnmon-0.5.14.tar.gz

Download URL cdnmon-0.5.14.tar.gz
Size 24.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5d39818fd41fd0455bb4b519228d5dffd54754d7308748c73e13c43e1c1366c8
BLAKE2b-256 checksum
How to use checksums
d4ae6d3da278416bb99664c56c6a315ca5e4aff21ebd5facf40522b297dc25bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / cdnmon-0.5.14-py3-none-any.whl

Download URL cdnmon-0.5.14-py3-none-any.whl
Size 55.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
416ba08174de884fe4e260acb03b2b5244500aa9cc5651a8924a7e45fcb6859c
BLAKE2b-256 checksum
How to use checksums
7e641e7bc8c2b4eee3d33c4b8c5e818cc3eee1dca7400009dd3a6bebeeb7d3e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Security for cdnmon 0.5.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page