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

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
cdnmon-0.5.14.tar.gz 24.5 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.5.14 This release

2 release files

0.5.13

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.0

2 release files

0.0.1

1 release file

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