Commit Graph

35 Commits

Author SHA1 Message Date
Matt Martz fe93e9ed75 Reorder some imports 2014-06-27 19:30:22 -05:00
Matt Martz cea45762ca Some people may be relying on matching Ping, don't change this yet 2014-06-27 19:27:21 -05:00
Matt Martz 328b851a07 Merge pull request #79 from McBochi/devel
Use timeit instead of time to prevent inconsistencies in the time module with various operating systems.
2014-06-25 12:18:48 -05:00
McBochi ec21971a10 Fixes sivel/speedtest-cli#76 2014-06-25 18:26:14 +02:00
Matt Martz 3558b22de1 If we got bogus XML that can't be parsed, provide a better error message instead of a trace. Fixes #77 2014-06-25 11:06:42 -05:00
Matt Martz c0cd0d1666 Prevent a redirect and use the final URL 2014-06-25 11:06:05 -05:00
Matt Martz c1b9a0db0a Switch to httplib/http.client to allow for better timing of latency, results may be slightly higher than previous, but more reliable 2014-05-27 09:30:39 -05:00
Matt Martz f1647f2c9e Bump version to 0.2.7 2014-04-23 11:52:57 -05:00
Matt Martz 8d1cf7ac1e Bump version to 0.2.6 2014-04-23 10:22:22 -05:00
Matt Martz 23fba2520a When using --mini and no extension is found, try all of the standard upload extensions. Fixes #62 2014-04-17 16:13:55 -05:00
Matt Martz e6913368ef Support output in bytes using the --bytes argument 2014-02-26 07:34:11 -06:00
Matt Martz 2da8a26038 Bump version to 0.2.5 2014-02-17 20:16:24 -06:00
Matt Martz 6d777db198 Also catch URLError when trying to fetch latency.txt. Fixes #41 2013-12-05 13:37:56 -06:00
Matt Martz 756f04da76 Bumping version for release 2013-12-03 12:59:48 -06:00
Matt Martz 890a3edb7e Fix join issue with python3 2013-12-03 12:57:17 -06:00
Matt Martz b827ad83c5 Bump version for upcoming release 2013-12-02 13:17:27 -06:00
Matt Martz 1a0e0b9a9d Merge branch 'etree' into working 2013-12-02 13:05:43 -06:00
Matt Martz e9405e370e Encode output when necessary. Fixes #30 2013-12-02 12:59:56 -06:00
Matt Martz 43799431ba Improve XML retrieval and parsing for newer versions of python 2013-12-02 10:13:41 -06:00
Matt Martz a4b8a74641 Add some docstrings and comments 2013-11-18 12:11:07 -06:00
Matt Martz 93682d73ca Pre-register our globals 2013-11-18 12:02:30 -06:00
Matt Martz d26cf87093 Add functionality to bind to a specific IP address. Fixes #36 2013-11-11 10:04:32 -06:00
Matt Martz 79aeabe4e7 Handle 404 for latency.txt requests, Fixes #27 2013-11-04 16:00:33 -06:00
Matt Martz f679e76ff4 Bump version to 0.2.2 2013-10-08 07:32:36 -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 cea8426fcd Add --version argument 2013-09-16 13:07:24 -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 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 4a6257069e s/if args.mini/elif args.mini/ 2013-07-28 17:25:19 -05:00
Matt Martz acb1049463 Add setup.py support 2013-07-26 17:25:49 -05:00