Commit Graph

300 Commits

Author SHA1 Message Date
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
Matt Martz 3c04dfefd3 Switch back to http 2015-04-15 08:48:22 -05:00
Matt Martz ffd2c7f963 Add some debugging for failed http requests using catch_request 2015-03-25 09:57:00 -05:00
Matt Martz aef4a78831 missing httplib/http.client classes 2015-03-25 09:45:01 -05:00
Matt Martz 72da41e4fc fix ups for pep8 1.6 changes 2015-02-26 11:06:42 -06:00
Matt Martz cb77da3d37 Support building wheels. Fixes #126 2015-02-26 10:51:32 -06:00
Matt Martz 790720b33a Bump to 0.3.2 2015-02-26 10:35:55 -06:00
Matt Martz 3a31df31c1 README.md updates 2015-02-26 10:35:36 -06:00
Matt Martz 7383ad97af Use HTTPS URLs where possible 2015-02-26 10:25:33 -06:00
Matt Martz 3cc06168f5 Don't continu elooping if the request is successful 2015-02-26 10:25:11 -06:00
Matt Martz 3ee45cace8 Better handling of HTTP exceptions, and loop through server list URLs. See #86 2015-01-16 16:06:27 -06:00
Matt Martz b0e1e58a0b s/bytes/byte/ and s/bits/bit/. Fixes #89 2014-09-02 15:06:14 -05:00
Matt Martz 60c3ec2a5e Send custom User-Agent with all http requests. See #86 2014-08-20 13:12:30 -05:00
Matt Martz 65c85a9b15 Add timeout argument 2014-08-20 13:11:30 -05:00
Matt Martz 795bc51da4 Bump version to 0.3.1 2014-08-05 12:56:05 -05:00
Matt Martz 6c8dd05872 Make sure to also catch socket.error. Fixes #87 2014-07-29 17:14:41 -05:00
Matt Martz 759ef15636 Seems some people get parser errors from c.speedtest.net, use www instead. Fixes #86 2014-07-25 08:56:23 -05:00
Matt Martz f907418e6e Bumping version to 0.3.0 2014-06-27 19:37:02 -05:00
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 3655a31ac1 Add section about inconsistency in README.rst 2014-05-27 09:31:04 -05:00