Commit Graph

141 Commits

Author SHA1 Message Date
Matt Martz cbb249b96d Don't use urandom for the upload data source
Using urandom limits the upload speed due to the generation speed of
random characters and causes high CPU usage.

See #13
Fixes #26
2013-08-08 09:52:54 -05:00
Matt Martz 4b06259a92 Add setup.py, addresses #9 2013-07-30 21:45:46 -05:00
Matt Martz 2f0027c478 Add installation info to README.md 2013-07-30 21:39:24 -05:00
Matt Martz 4a6257069e s/if args.mini/elif args.mini/ 2013-07-28 17:25:19 -05:00
Matt Martz c22a41ccaf s/if args.mini/elif args.mini/ Fixes #24 2013-07-28 17:24:09 -05:00
Matt Martz acb1049463 Add setup.py support 2013-07-26 17:25:49 -05:00
Matt Martz f42e98f29f Update usage in README.md 2013-07-26 16:37:39 -05:00
Matt Martz e5935b7400 Add speedtest mini support 2013-07-26 16:34:07 -05:00
Matt Martz d9cd9c8562 Merge speedtest-cli and speedtest-cli-3 2013-07-26 16:11:10 -05:00
Matt Martz fe0940c574 Avoid redirects on hardcoded URLs 2013-05-28 07:42:06 -05: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
Matt Martz 65c8a0558d LICENSE 2013-04-26 22:37:03 -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 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