Commit Graph

34 Commits

Author SHA1 Message Date
Matt Martz 71b456594f messages for upload/download reversed 2014-03-08 18:02:46 -06:00
Matt Martz feb7f6bff1 pep8 spacing fix 2014-03-06 11:57:35 -06:00
Matt Martz 79c3a19792 Add support for --csv and --json arguments as output types 2014-03-06 11:54:31 -06:00
Matt Martz 3b29d5701d cast server id to int to be more consistent with the rest of the data 2014-02-28 12:23:36 -06:00
Matt Martz 9ef5620b58 Don't require people to explicitly perform all steps, retrieve servers if not already retrieved, select closest if not already selected 2014-02-28 12:17:22 -06:00
Matt Martz b846f4dd88 Handle issues determining distance to test servers 2014-02-28 12:16:46 -06:00
Matt Martz bab7a9d88e Create a Fake shutdown event so that users of the API are not required to register a shutdown event 2014-02-28 12:16:27 -06:00
Matt Martz 88565d5acd Huge refactor, too many changes to really address individually 2014-02-27 16:38:19 -06:00
Matt Martz 42bbc21546 lowercase with underscores and move arg parsing into it's own function 2014-02-26 20:54:48 -06: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