mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-01-27 22:00:15 +01:00
357649cba7136ec84aa495957a9d9bac2e832ef3
If multiple servers reported the exact same lat. and long. then they would overwrite eachother in the dict. I changed it to use a defaultdict so that you could have multiple servers with the exact same distance. (3 of my closest 5 reported the exact same corrdinates.) The latency it was printing was not the latency from the chosen best server. Now it is. Added a print out of the IP and ISP info.
speedtest-cli
Command line interface for testing internet bandwidth using speedtest.net
Versions
speedtest-cli is written for use with Python 2.4-2.7
speedtest-cli-3 is written for use with Python 3
Usage
$ speedtest-cli -h
usage: speedtest-cli [-h] [--share] [--simple]
Command line interface for testing internet bandwidth using speedtest.net.
--------------------------------------------------------------------------
https://github.com/sivel/speedtest-cli
optional arguments:
-h, --help show this help message and exit
--share Generate and provide a URL to the speedtest.net share results
image
--simple Suppress verbose output, only show basic information
Description
Languages
Python
95.8%
Roff
4.2%