Commit Graph

274 Commits

Author SHA1 Message Date
Matt Martz 4bd4b7dfec Bump copyright date range 2016-05-27 11:31:53 -05:00
Matt Martz 5e0bd05c81 Deprecate speedtest_cli.py 2016-05-27 11:31:43 -05:00
Matt Martz b3f9a48cbb Handle py3 compatibility for speedtest mini servers 2016-05-26 15:20:58 -05:00
Matt Martz 478f9affdd Better detection of file extension for mini server 2016-05-26 15:20:15 -05:00
Matt Martz 9ccce5d861 Remove unneeded constants 2016-05-16 16:57:59 -05:00
Matt Martz 2a4990c96c request may get overwritten, use self.request 2016-05-16 16:34:13 -05:00
Matt Martz 07c38d7194 Pre build requests, lazy build upload data 2016-05-16 16:10:51 -05:00
Matt Martz c5f75f783e More accurate timing by setting stop stamp earlier 2016-05-16 11:35:31 -05:00
Matt Martz 050da542b3 Remove unneeded var, clear servers on get_servers and break if we were successful collecting servers 2016-05-16 11:34:38 -05:00
Matt Martz e14f7ed108 Try an old virtualenv version with py32 2016-03-10 10:55:04 -06:00
Matt Martz a7e9bc695e Install py32 compatible pip 2016-03-10 10:44:21 -06:00
Matt Martz 77db2ea8f4 Move xml.parsers.expat import for flake8 2016-03-10 10:15:00 -06:00
Matt Martz e4218c7612 ssl.CertificateError not always available 2016-03-10 09:54:04 -06:00
Matt Martz 69bae532c5 Ensure we don't accidentally set debug in python versions using optparse 2016-03-07 17:07:48 -06:00
Matt Martz 4f7f367391 Handle SSL errors, and specify scheme for CDN URLs 2016-03-07 17:06:22 -06:00
Matt Martz 08e87f4c54 make sure ignore_servers is a list 2016-03-07 17:05:28 -06:00
Matt Martz aa52e550bf Threading and callback improvements 2016-03-07 17:05:05 -06:00
Matt Martz 537c5aeda0 Remove unneeded imports 2016-03-07 17:03:39 -06:00
Matt Martz 95fe038752 Handle HTTPSConnection imports differently, don't bail unless we need it 2016-03-07 17:02:11 -06:00
Matt Martz 1c0a029ca6 Handle broken pipe exceptions more effectively 2016-03-07 17:00:46 -06:00
Matt Martz 9913b9915f Update print_ from six, so that encoding can be handled automatically 2016-03-07 16:59:41 -06:00
Matt Martz a4cb217522 download and upload measurements should be stored in SpeedtestResults in the units specified, defaulting to bits 2016-01-05 16:06:18 -06:00
Matt Martz d09ec27cb2 Address performance degredation by incerasing read default from 1500 back to 10240 2016-01-05 16:05:12 -06:00
Matt Martz 446e6eb27e Update tox.ini to reflect filename change 2015-12-28 14:34:07 -06:00
Matt Martz 81182c1c94 Rename from speedtest_cli.py to speedtest.py, but maintain backwards compat with a symlink 2015-12-28 14:32:47 -06:00
Matt Martz 51014d5a70 flake8 fixes 2015-12-23 12:44:14 -06:00
Matt Martz 65145d9aae Also debug the user-agent 2015-12-23 12:29:40 -06:00
Matt Martz 308c530f07 Add hidden debug option, which prints debug information 2015-12-23 12:25:50 -06:00
Matt Martz abe85d85ff Implement cache busting 2015-12-23 12:23:42 -06:00
Matt Martz d1b1185bfc Change how we build out info from config data 2015-12-23 12:22:36 -06:00
Matt Martz 713860a4b4 Build user agent, if not built by the time build_request happens 2015-12-22 15:53:53 -06:00
Matt Martz ff606d0ec1 Update README 2015-12-22 15:53:26 -06:00
Matt Martz 3f22a9d815 Move representation methods, and add __repr__ 2015-12-22 15:20:30 -06:00
Matt Martz cb6dee8a77 1st pass on 2nd attempt at modularizing the code base 2015-12-22 15:02:07 -06:00
Matt Martz 7b09d8759f Bumping to 0.3.4 2015-09-21 11:37:50 -05:00
Matt Martz 25d845362c 2015 2015-09-21 11:37:32 -05:00
Matt Martz 4b9662e0b3 Bump to 0.3.3 2015-09-21 11:26:54 -05:00
Matt Martz 93951f1154 Migrate from pypip.in to shields.io. Fixes #164 2015-08-19 11:51:24 -05:00
Matt Martz 0e6b85d4d5 printf requires a tuple 2015-08-19 11:36:44 -05:00
Matt Martz 6ab5f27300 Add server list URLs without -static also. Fixes #167 2015-08-19 11:35:13 -05:00
Matt Martz 2ee26bbf54 Update README with new help info 2015-08-19 11:34:36 -05:00
Matt Martz 514b310484 Fix missing space 2015-05-21 14:31:05 -05:00
Matt Martz 918e70e66d Remove py31 2015-05-20 18:00:19 -05:00
Matt Martz bae642ccde Meant to add an additional line for compileall 2015-05-20 14:52:35 -05:00
Matt Martz 1df3e76b19 Switch to travis addons for installing deadsnakes 2015-05-20 14:49:45 -05:00
Matt Martz 1e44e9e2f1 Always encode server info 2015-05-17 19:50:05 -05:00
Matt Martz 51d0d88b96 Bump to 0.3.3b 2015-05-15 10:03:10 -05:00
Matt Martz 47c17d4a49 Just use the global instead of calling the function again 2015-05-13 11:35:01 -05:00
Matt Martz d1be67be48 Attempt a Mozilla/5.0 compatible user-agent string 2015-04-20 09:45:02 -05:00
Matt Martz 075cfda9cf Default to http, add --secure to specify use of https 2015-04-15 16:51:08 -05:00