Commit Graph

161 Commits

Author SHA1 Message Date
Matt Martz 3f2440f03e Add MANIFEST.in 2013-10-08 07:15:42 -05:00
Matt Martz 073e3ee1d0 Merge remote-tracking branch 'cyberjacob/master' into working. Fixes #37 2013-10-08 07:10:18 -05:00
Matt Martz 7bb9bfc945 Code formatting fix ups 2013-10-08 07:09:55 -05:00
Jacob Mansfield ae2db04ae5 Fixed threadding errors from issue #37 2013-10-08 09:31:40 +01:00
Matt Martz e6baa69705 packageS 2013-09-25 10:32:15 -05:00
Matt Martz 8f66f8ca18 Updates to README.rst, remove README.md 2013-09-25 10:14:26 -05:00
Matt Martz 6e48fd0d2d rst format updates 2013-09-24 20:38:00 -05:00
Matt Martz 238a7fc09c Add version and download badges to README 2013-09-24 20:00:39 -05:00
Matt Martz 35c7e6d6b5 Update install instructions 2013-09-17 08:42:21 -05:00
Matt Martz cea8426fcd Add --version argument 2013-09-16 13:07:24 -05:00
Matt Martz c3601a046b Add classifiers to setup.py 2013-09-16 12:49:23 -05:00
Matt Martz cb0040f3d7 Add long_description to setup.py utilizing readme.rst 2013-09-16 12:39:36 -05:00
Matt Martz f3926579dd Add README.rst for future inclusion in package 2013-09-16 12:37:55 -05:00
Matt Martz 498f0004f1 Merge branch 'sigint', Fixes #33 2013-09-06 14:59:21 -05:00
Matt Martz d2826dde8b Catch sigint, and exit, while trying not to be destructive to file handles, See #33 2013-09-05 22:04:02 -05:00
Matt Martz 8b8be9afd3 Merge pull request #32 from panozzaj/master
Change raw link in README.
2013-09-03 19:10:19 -07:00
Anthony Panozzo a8db572501 Change raw link in README.
Was previously pointing to a page that gave a 301 redirect, which caused
me to download an incorrect file with curl on Mac. This should be
slightly faster since wget/curl doesn't have to follow any redirect.
2013-09-03 17:33:42 -07:00
Matt Martz edf8448274 .strip() not needed 2013-08-23 09:45:09 -05:00
Matt Martz 44022fe895 Improve performance when determining the best server. See #31 and #29. 2013-08-23 09:31:45 -05:00
Matt Martz 2abf94d46c Improve performance when reading data after upload. See #31 2013-08-23 09:31:09 -05:00
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