Skip to content

Instantly share code, notes, and snippets.

@ZiTAL
Created January 3, 2025 11:45
Show Gist options
  • Select an option

  • Save ZiTAL/ea70f108c5d5a7354c3501ae470d1379 to your computer and use it in GitHub Desktop.

Select an option

Save ZiTAL/ea70f108c5d5a7354c3501ae470d1379 to your computer and use it in GitHub Desktop.
python: speed test
pip3 install speedtest-cli --break-system-packages
speedtest-cli --list
Retrieving speedtest.net configuration...
37231) E-PORTS AMPLE DE BANDA I INTERNET S.L. (Tortosa, Spain) [347.20 km]
20416) Anxanet (Vilanova i la Geltrú, Spain) [405.65 km]
11015) apfutura (Centelles, Spain) [418.80 km]
21516) Grupo MásMóvil (Barcelona, Spain) [430.80 km]
20672) apfutura (Barcelona, Spain) [430.80 km]
63419) Jazztel (Barcelona, Spain) [430.80 km]
51797) e17 Telecom JCTècnics (Sant Llorenç de la Muga, Spain) [450.97 km]
31159) Fitel Network (Lloret de Mar, Spain) [470.91 km]
36787) QNECTA (Vall-llobrega, Spain) [488.50 km]
67863) Orange (Mallorca, Spain) [589.75 km]
speedtest-cli --server 37231

output example:

Retrieving speedtest.net configuration...
Testing from Yoigo (67.218.233.15)...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by E-PORTS AMPLE DE BANDA I INTERNET S.L. (Tortosa) [347.20 km]: 28.409 ms
Testing download speed................................................................................
Download: 91.46 Mbit/s
Testing upload speed......................................................................................................
Upload: 94.42 Mbit/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment