A simple internet speed test tool/library, which uses https://speed.cloudflare.com (provided by Cloudflare)
$ pip install -U cf-speedtest
-
cf_speedtest
-
cf_speedtest --verifyssl=false
-
Specify a percentile of measurements to be considered your speed (default 90):
cf_speedtest --percentile 80
-
cf_speedtest --output speed_data.csv
-
cf_speedtest --proxy socks5:https://127.0.0.1:1080
cf_speedtest --proxy socks5:https://admin:[email protected]:1080
cf_speedtest --proxy https://127.0.0.1:8181
cf_speedtest --proxy https://admin:[email protected]:8181
cf_speedtest --proxy 127.0.0.1:8181
- TODO
- Programmatic usage
- Multi-threaded speedtest
- Continuous mode
- This library is purely single-threaded
- This library works entirely over HTTP(S), which has some overhead
- Latency is measured with HTTP requests
- Cloudflare has a global network, but you may be connected to a distant PoP due to ISP peering and other factors