Skip to content

12932/cf-speedtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cf-speedtest

A simple internet speed test CLI tool using speed.cloudflare.com

PyPI version PyPI pyversions CI PyPI downloads

Installation

# Recommended
uv tool install cf-speedtest

# Or with pip
pip install -U cf-speedtest

Usage

# Run a speedtest
cf-speedtest

# Without SSL verification
cf-speedtest --verifyssl=false

# Custom percentile (default 90)
cf-speedtest --percentile 80

# Output to CSV
cf-speedtest --output speed_data.csv

# With proxy
cf-speedtest --proxy socks5://127.0.0.1:1080
cf-speedtest --proxy http://127.0.0.1:8181

Requirements

  • Python 3.10+

Disclaimers

  • Single-threaded
  • Works over HTTP(S), which has some overhead
  • Latency measured via HTTP requests
  • Cloudflare has a global network, but you may connect to a distant PoP due to ISP peering

About

A command-line internet speed test tool

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages