Commit Graph

18 Commits

Author SHA1 Message Date
Andrew Udvare
ab2bda7ea3 Add --ib option to use binary prefixes
This is mainly for use with the --bytes options since many file managers and applications assume use of 1024 intead of 1000 when it comes to dealing with data sizes in bytes. This is so users can get a closer to realistic view for general data (pretty much except those on OS X and possibly Ubuntu, whose file manager(s) use SI units).

Please see http://en.wikipedia.org/wiki/Binary_prefix
2013-04-27 07:53:25 -07:00
Andrew Udvare
cdec9d4788 Add --bytes argument to get speed in MB/s 2013-04-27 07:40:48 -07:00
Matt Martz
3272db0041 Merge pull request #14 from mihaic/units-fix
Use 1000 as multiplier for Mbit/s and kbit/s
2013-04-27 07:04:45 -07:00
Matt Martz
f358b5ec27 Increase the read size to 10k from 1k, Fixes #12 2013-04-27 08:59:34 -05:00
Matt Martz
4f055328e7 Relocate deletion of root variable 2013-04-27 08:56:21 -05:00
Mihai Capotă
1df0cf239f Use 1000 as multiplier for Mbit/s and kbit/s
Speedtest.net defines Mbit/s and kbit/s using 1000 as multiplier, <https://support.speedtest.net/entries/21057567-What-do-mbps-and-kbps-mean->.
2013-04-15 14:03:10 +02:00
Matt Martz
11fb59d6ae Attempt to reduce memory footprint more 2013-02-18 12:02:18 -06:00
Matt Martz
0deff10e66 Reduce memory footprint 2013-02-18 11:47:43 -06:00
Matt Martz
4223b7e822 Don't round then pass to print, round using printf formatting 2013-02-11 16:19:22 -06:00
Matt Martz
f3040c534f Add ability to list speedtest.net servers and specify a server to test against. Fixes #4 2013-01-30 10:49:32 -06:00
Matt Martz
e67ee1663c Try to handle keyboard interrupts 2013-01-25 11:53:57 -06:00
Matt Martz
2b0d1f6446 Print out ISP and IP information 2013-01-25 11:53:45 -06:00
Andrew Parker
dacd474ac7 Same changes
Made the same changes in speedtest-cli-3 to support Python 3.
2013-01-25 11:34:13 -06:00
Matt Martz
54505e6edd First pass at adding some command line options, the default is not to automatically generate the share link 2013-01-24 14:40:29 -06:00
Matt Martz
6c33c1eb24 Make sure we are only sending ascii characters in POST requests to avoid urllib2 encoding errors, and add the missed post var in the POST data 2013-01-12 10:46:56 -06:00
Matt Martz
3a2260d6af pep8 formatting changes 2013-01-07 13:01:14 -06:00
Matt Martz
3d03e99e5e Add license to files. Fixes #5 2013-01-07 12:29:42 -06:00
Matt Martz
998618e1a3 Add python3 version of speedtest-cli. Fixes #3 2013-01-04 15:41:48 -06:00