100 Commits
Author SHA1 Message Date
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
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
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 b14e104ad1 Some additional coding guidelines 2014-05-20 16:34:17 -05:00
Matt Martz f1647f2c9e Bump version to 0.2.7 2014-04-23 11:52:57 -05:00
Matt Martz 5bbc3e8bb0 Update man page with --bytes argument 2014-04-23 11:52:26 -05:00
Matt Martz 807df51c83 Update usage in README 2014-04-23 11:50:11 -05:00
Matt Martz 8e0d5eaec8 python < 2.6 does not have the 'with' statement 2014-04-23 10:31:23 -05:00
Matt Martz 966fd2c86d Clean up CONTRIBUTING.md 2014-04-23 10:24:31 -05:00
Matt Martz 8d1cf7ac1e Bump version to 0.2.6 2014-04-23 10:22:22 -05:00
Matt Martz 20c9882b09 Improve setup.py 2014-04-23 10:22:09 -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 3e9c6e3532 Better testing using tox 2014-04-17 10:25:21 -05:00
Matt Martz 8a308040a9 Update CONTRIBUTING.md 2014-04-17 10:22:05 -05: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
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
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 ed2e7a98df Update README.rst 2013-11-11 10:06:38 -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 07eda04710 Update usage 2013-10-08 07:17:40 -05:00
Matt Martz 3f2440f03e Add MANIFEST.in 2013-10-08 07:15:42 -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
Matt Martz e6baa69705 packageS 2013-09-25 10:32:15 -05:00
Matt Martz 8f66f8ca18 Updates to README.rst, remove README.md 2013-09-25 10:14:26 -05:00
Matt Martz 6e48fd0d2d rst format updates 2013-09-24 20:38:00 -05:00
Matt Martz 238a7fc09c Add version and download badges to README 2013-09-24 20:00:39 -05:00
Matt Martz 35c7e6d6b5 Update install instructions 2013-09-17 08:42:21 -05:00
Matt Martz cea8426fcd Add --version argument 2013-09-16 13:07:24 -05:00
Matt Martz c3601a046b Add classifiers to setup.py 2013-09-16 12:49:23 -05:00
Matt Martz cb0040f3d7 Add long_description to setup.py utilizing readme.rst 2013-09-16 12:39:36 -05:00
Matt Martz f3926579dd Add README.rst for future inclusion in package 2013-09-16 12:37:55 -05:00
Matt Martz 498f0004f1 Merge branch 'sigint', Fixes #33 2013-09-06 14:59:21 -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 8b8be9afd3 Merge pull request #32 from panozzaj/master
Change raw link in README.
2013-09-03 19:10:19 -07: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 4b06259a92 Add setup.py, addresses #9 2013-07-30 21:45:46 -05:00
Matt Martz 2f0027c478 Add installation info to README.md 2013-07-30 21:39:24 -05:00
Matt Martz 4a6257069e s/if args.mini/elif args.mini/ 2013-07-28 17:25:19 -05:00
Matt Martz c22a41ccaf s/if args.mini/elif args.mini/ Fixes #24 2013-07-28 17:24:09 -05:00
Matt Martz acb1049463 Add setup.py support 2013-07-26 17:25:49 -05:00
Matt Martz f42e98f29f Update usage in README.md 2013-07-26 16:37:39 -05:00
Matt Martz e5935b7400 Add speedtest mini support 2013-07-26 16:34:07 -05:00
Matt Martz d9cd9c8562 Merge speedtest-cli and speedtest-cli-3 2013-07-26 16:11:10 -05:00
Matt Martz fe0940c574 Avoid redirects on hardcoded URLs 2013-05-28 07:42:06 -05:00
Matt Martz 3272db0041 Merge pull request #14 from mihaic/units-fix
Use 1000 as multiplier for Mbit/s and kbit/s
2013-04-27 07:04:45 -07:00
Matt Martz f358b5ec27 Increase the read size to 10k from 1k, Fixes #12 2013-04-27 08:59:34 -05:00
Matt Martz 4f055328e7 Relocate deletion of root variable 2013-04-27 08:56:21 -05:00
Matt Martz 65c8a0558d LICENSE 2013-04-26 22:37:03 -05:00
Matt Martz 11fb59d6ae Attempt to reduce memory footprint more 2013-02-18 12:02:18 -06:00
Matt Martz 0deff10e66 Reduce memory footprint 2013-02-18 11:47:43 -06:00
Matt Martz 4223b7e822 Don't round then pass to print, round using printf formatting 2013-02-11 16:19:22 -06:00
Matt Martz 0408443fb6 Update the README with usage 2013-01-30 12:28:43 -06:00
Matt Martz f3040c534f Add ability to list speedtest.net servers and specify a server to test against. Fixes #4 2013-01-30 10:49:32 -06:00