Commit Graph

118 Commits

Author SHA1 Message Date
Matt Martz cbdbab3d16 Print share results, when --share is specified 2014-04-30 09:10:03 -05:00
Matt Martz 3695acb020 Fix descriptors 2014-04-30 09:09:37 -05:00
Matt Martz f689af0fc6 While we don't have to worry about python caching results since we aren't a browser, some proxies cause inconsistent results as they are caching requests 2014-04-30 08:46:36 -05:00
Matt Martz 44bc5d2bef Additionally, don't run callback if the shutdown_event is set 2014-04-29 19:21:55 -05:00
Matt Martz 557e662a6c Don't run callback if a callback is not set 2014-04-28 14:11:47 -05:00
Matt Martz 395553f089 s/args\.mini/url/ 2014-04-17 16:34:13 -05:00
Matt Martz 16b8aec1d7 Better testing using tox 2014-04-17 16:21:25 -05:00
Matt Martz 93e13b528f When using --mini and no extension is found, try all of the standard upload extensions. 2014-04-17 16:20:02 -05:00
Matt Martz 5cba294b76 Some fixes for python2.4 2014-04-17 10:16:39 -05:00
Matt Martz dfeb19ff68 Speed and memory improvement for populating StringIO 2014-04-12 22:58:57 -04:00
Matt Martz 6888a5aae1 Use socket logic to determine proper number of threads for upload 2014-03-10 12:19:08 -05:00
Matt Martz 0e7160e8e6 Fix python3 issues 2014-03-10 12:18:47 -05:00
Matt Martz 5ec8fa590d document FakeShutdownEvent 2014-03-10 11:41:07 -05:00
Matt Martz f009711526 docstring updates 2014-03-10 11:32:34 -05:00
Matt Martz de594188e5 Move exception classes higher in the file 2014-03-10 11:28:22 -05:00
Matt Martz 989c440700 Add ability to handle upload timeout threshold by using a stream for post data 2014-03-10 11:25:09 -05:00
Matt Martz d28c8f18b0 pep8 logic fix 2014-03-09 22:41:34 -05:00
Matt Martz 3c81acc96c Allow callback to print before and after download/upload, and prefix Uploader and Downloader with HTTP 2014-03-09 22:05:42 -05:00
Matt Martz 8f5faafada pep8 fix 2014-03-08 18:19:31 -06:00
Matt Martz 3ffb447210 s/tagName/tag_name/g 2014-03-08 18:10:42 -06:00
Matt Martz 1f16fb3cfe Use custom user agent 2014-03-08 18:10:22 -06:00
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 f559d79ded Don't try testing python2.4, maybe we can use a drone server for this 2014-02-25 15:11:04 -06:00
Matt Martz 3d55c7d91e Fix double slash 2014-02-20 17:07:53 -06:00
Matt Martz e4f493954a Update to new pypip.in links 2014-02-18 09:25:22 -06:00
Matt Martz 18408ee938 Merge branch 'working' of github.com:sivel/speedtest-cli into working 2014-02-17 20:16:42 -06:00
Matt Martz 2da8a26038 Bump version to 0.2.5 2014-02-17 20:16:24 -06:00
Matt Martz 1cf091ebc7 Add .travis.yml 2014-02-17 20:14:41 -06:00
Matt Martz ae4267fbb8 Merge pull request #47 from highvoltage/working
Properly escape minus signs so that they don't become hyphens
2014-02-10 14:26:28 -06:00
Jonathan Carter 8a047be93f Properly escape minus signs so that they don't become hyphens 2014-02-10 22:24:43 +02:00
Matt Martz 724563049c Add reference to permitted modules 2014-02-08 18:18:34 -06:00
Matt Martz 4809428de7 Add a CONTRIBUTING.md 2014-02-08 10:05:10 -06:00
Matt Martz c7636b3aac Merge branch 'master' of https://github.com/highvoltage/speedtest-cli into highvoltage-master 2014-02-08 09:55:22 -06:00
Jonathan Carter acf396aba0 Add speedtest-cli man page 2014-01-26 15:48:48 +02: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