{"id":854,"date":"2017-08-20T19:44:56","date_gmt":"2017-08-20T18:44:56","guid":{"rendered":"http:\/\/gavtaylor.uk\/blog\/?p=854"},"modified":"2017-08-20T19:44:56","modified_gmt":"2017-08-20T18:44:56","slug":"speedtest-cli","status":"publish","type":"post","link":"https:\/\/gavtaylor.uk\/blog\/speedtest-cli","title":{"rendered":"speedtest-cli"},"content":{"rendered":"<p>Ive been a big fan of Speedtest.Net for a long time, back when I was in Broadband Tech Support we used to advise customers to test using this site rather than others they found or knew about already. Unfortunately they seem to be adding more and more adverts onto the site the last few years so when I came across this tool to do tests from a terminal I was keen to jump on it and have been using it for couple of years now and realised Ive not helped to spread the word.<\/p>\n<p>So, what is it? Basically its a python package that performs speedtests against speedtest.net servers but from your device instead of the speedtest.net website. The github repo is: https:\/\/github.com\/sivel\/speedtest-cli<\/p>\n<p>Installation is simple, Im using pip but alternatives are listed on the projects readme<\/p>\n<p><code><br \/>\n$ sudo pip install speedtest-cli<br \/>\nCollecting speedtest-cli<br \/>\nDownloading speedtest_cli-1.0.6-py2.py3-none-any.whl<br \/>\nInstalling collected packages: speedtest-cli<br \/>\nSuccessfully installed speedtest-cli-1.0.6<br \/>\n<\/code><\/p>\n<p>thats it, then to run you just call &#8216;speedtest-cli&#8217;<\/p>\n<p><code><br \/>\n$ speedtest-cli<br \/>\nRetrieving speedtest.net configuration...<br \/>\nTesting from Virgin Media (82.4.xx.xx)...<br \/>\nRetrieving speedtest.net server list...<br \/>\nSelecting best server based on ping...<br \/>\nHosted by TNP Ltd. (Manchester) [7.81 km]: 27.27 ms<br \/>\nTesting download speed................................................................................<br \/>\nDownload: 88.22 Mbit\/s<br \/>\nTesting upload speed................................................................................................<br \/>\nUpload: 12.12 Mbit\/s<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ive been a big fan of Speedtest.Net for a long time, back when I was in Broadband Tech Support we used to advise customers to test using this site rather than others they found or knew about already. Unfortunately they seem to be adding more and more adverts onto the site the last few years [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"speedtest-cli","jetpack_is_tweetstorm":false},"categories":[41],"tags":[322,321],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/posts\/854"}],"collection":[{"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/comments?post=854"}],"version-history":[{"count":2,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/posts\/854\/revisions"}],"predecessor-version":[{"id":861,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/posts\/854\/revisions\/861"}],"wp:attachment":[{"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/media?parent=854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/categories?post=854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gavtaylor.uk\/blog\/wp-json\/wp\/v2\/tags?post=854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}