serhii.net

In the middle of the desert you can say anything you want

18 Oct 2023

Speedtest-cli and cloudflare's cooler alternative

Python package speedtest-cli does what it says on the tin.

BUT! TIL it has options, most useful ones being:

  --no-download         Do not perform download test
  --no-upload           Do not perform upload test
  --simple              Suppress verbose output, only show basic information
  --csv                 Suppress verbose output, only show basic information in CSV format. Speeds listed in bit/s and not affected by --bytes
  --json                Suppress verbose output, only show basic information in JSON format. Speeds listed in bit/s and not affected by --bytes
  --mini MINI           URL of the Speedtest Mini server

Also: allegedly all providers treat speedtest-net as special for PR purposes.

Ergo:

Nel mezzo del deserto posso dire tutto quello che voglio.