Commit Graph

267 Commits

Author SHA1 Message Date
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