Commit Graph

175 Commits

Author SHA1 Message Date
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 0408443fb6 Update the README with usage 2013-01-30 12:28:43 -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
Andrew Parker b3c8a568a2 Remove use of defaultdict
Remove the use of defaultdict to preserve Python 2.4 compatibility.
2013-01-25 11:34:13 -06:00
Andrew Parker 357649cba7 Bug fixes, etc.
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.
2013-01-25 11:34:13 -06:00
Matt Martz 824ec51280 Add usage to readme 2013-01-25 11:12:28 -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 a2f2a46f6f Update readme to reference 2.4-2.7 2013-01-22 10:03:45 -06:00
Matt Martz 38fa36fc4d Clean up imports 2013-01-12 10:48:58 -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 9e1a582826 Merge pull request #6 from bcse/legacy-support
Add support for Python 2.4 and 2.5
2013-01-12 07:54:45 -08:00
Grey Lee 5ed261b33d Shorten a line to pass pep8 2013-01-12 22:29:52 +08:00
Grey Lee f3bdb7257c Support for Python 2.4:
- Use md5.md5 when hashlib.md5 is not available
2013-01-12 22:22:11 +08:00
Grey Lee 76cd7d238f Support for Python 2.5:
- Use minidom to replace ElementTree, which is not available in Python 2.5
- Use urllib2.urlopen to replace urllib.urlopen, so we can get HTTP code
- Use cgi.parse_qs when ulrparse.parse_qs is not available
2013-01-12 22:20:59 +08:00
Matt Martz 3a2260d6af pep8 formatting changes 2013-01-07 13:01:14 -06:00
Matt Martz ef4d483b94 README updates 2013-01-07 12:31:13 -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
Matt Martz c514e6df76 Add link to share results png file, we have to submit the data back to speedtest.net. Fixes #1 2013-01-01 14:02:45 -06:00
Matt Martz 8c7f9fe740 Initial check in of speedtest-cli 2012-09-10 14:18:56 -05:00
Matt Martz 7dce3b1928 Initial commit 2012-09-10 12:17:53 -07:00