Commit Graph

227 Commits

Author SHA1 Message Date
Matt Martz fe864f6dce Use vendored create_connection when socket doesn't have it, or socket.create_connection is too old 2017-11-23 10:14:35 -06:00
Matt Martz 10b3b09f02 Don't override socket.socket for binding, eliminiate globals SOURCE and USER_AGENT 2017-11-23 10:14:35 -06:00
Matt Martz 20e5d12a5c Support csv-delimiter for csv-header 2017-10-16 09:28:35 -05:00
Matt Martz 6603954e45 Bump to v1.0.6 2017-04-25 11:49:26 -05:00
Matt Martz e982830350 Revert "Be consistent, use the shorter var"
This reverts commit 3c1c9d3179.
2017-04-25 10:52:40 -05:00
Matt Martz 2c89c53a79 Switch upload pre-allocation to true, but allow disabling 2017-04-25 10:34:20 -05:00
Matt Martz 401c469991 Do better calculations of the number of uploads per size to perform 2017-04-25 10:08:14 -05:00
Matt Martz 3c1c9d3179 Be consistent, use the shorter var 2017-04-25 10:07:34 -05:00
Matt Martz e2f815618b Be consistent, explicitly instantiate all exceptions 2017-04-25 10:07:05 -05:00
Matt Martz 955a756c96 Ensure to specify Z for UTC in iso8601 date. Fixes #388 2017-04-24 13:32:35 -05:00
Matt Martz ceef55488c Bump to v1.0.5 2017-04-21 14:38:57 -05:00
Matt Martz 20eeadcb0c Reorder StringIO imports again, add to_utf8 function to ensure we encode csv data properly. Fixes #385 2017-04-19 10:33:01 -05:00
Matt Martz 4aebe01c3e Bump version to 1.0.4 2017-04-12 12:19:39 -05:00
Matt Martz 1871b26b9a Flake8 fix 2017-04-12 12:18:54 -05:00
Matt Martz 824c584658 Invert logic for py3 print detection, to avoid confusion created by the future package 2017-04-12 12:18:54 -05:00
Matt Martz 9806e401e0 Prefer io over cStringIO and StringIO 2017-04-12 12:18:54 -05:00
Matt Martz 1642d0669f Handle utf-8 output encoding in py3 also. Fixes #382 2017-04-12 12:18:46 -05:00
Matt Martz 2e79fbf1dc Bump to 1.0.3 2017-03-30 19:29:40 -05:00
Matt Martz f20e8808a8 Add link to python api docs 2017-03-24 15:31:02 -05:00
Matt Martz 3feb38d9d4 Allow skipping download or upload tests. Fixes #377 2017-03-24 15:30:52 -05:00
Matt Martz d712f947d9 Always print using utf-8. Fixes #362 2017-03-17 16:21:01 -05:00
Matt Martz 55b3cf14a3 Allow --share to work with --simple and --json. Fixes #375 2017-03-17 16:06:48 -05:00
Matt Martz 33e498beb3 Add bytes_sent and bytes_received to the json output. Addresses #358 2017-01-18 15:03:32 -06:00
Matt Martz 068d71597b Bump to 1.0.2 2017-01-18 14:10:02 -06:00
Matt Martz 1863c35f6b alpha version bump 2017-01-09 19:49:19 -06:00
Matt Martz 823d7dc2b7 Better handling of retrieving config and server list 2017-01-09 19:48:35 -06:00
Matt Martz 411f1609e8 Don't sys.exit(1), instead either raise the exception, or a new SpeedtestCLIError. Fixes #352 2017-01-06 13:20:46 -06:00
Matt Martz 7b38e264bc Bump to 1.0.1 2016-12-22 11:35:06 -06:00
Matt Martz 2acba6ecd7 Revert "Pre create upload data, to not impact timing"
This reverts commit 6685d91729.
2016-12-12 14:08:20 -06:00
Matt Martz 53ef57bd5e Ensure we install speedtest_cli.py 2016-11-17 11:20:19 -06:00
Matt Martz c512684ffa Don't use mutable defaults as args for methods 2016-11-11 10:00:24 -06:00
Matt Martz 6685d91729 Pre create upload data, to not impact timing 2016-11-04 16:05:57 -05:00
Matt Martz 91270dbc67 Update README with changes to help 2016-11-04 10:04:17 -05:00
Matt Martz b75ecc291c Test on py35 also 2016-11-02 20:56:40 -05:00
Matt Martz 1d6717e714 Fix debug in py<=2.5 2016-11-02 19:47:55 -05:00
Matt Martz d41cfc0cb1 Use BytesIO on py3 in HTTPUploaderData 2016-11-02 19:47:31 -05:00
Matt Martz 59880107a7 Support gzip encoding if available 2016-11-02 19:47:07 -05:00
Matt Martz 4280c448cf Debug print XML from servers 2016-09-27 13:45:32 -05:00
Matt Martz 9f44a72fdb Add debug output to latency testing 2016-09-27 11:23:25 -05:00
Matt Martz b075152e3e Catch scenario where no servers could be connected to for latency tests 2016-09-26 11:07:02 -05:00
Matt Martz 2be4d0a5e7 Make sure to enumerate requests to support cache busting properly 2016-09-19 16:40:32 -05:00
Matt Martz 9299e0860c Add additional note that --bytes doesn't affect json or csv 2016-09-14 10:34:38 -05:00
Matt Martz 292e250990 Update API post data to match current UI post data 2016-09-14 10:34:20 -05:00
Matt Martz fd8b8cfa92 Fix SpeedtestResults attributes for upload and download 2016-09-14 10:33:32 -05:00
Matt Martz 9e3a5b3a59 update usage information 2016-09-13 09:02:29 -05:00
Matt Martz 53b760dfba Adjust copyright in setup.py 2016-09-13 08:54:02 -05:00
Matt Martz d0c927e8ae Don't concern SpeedtestResults with units 2016-09-13 08:50:15 -05:00
Matt Martz 6fffcd5b63 Remove unneeded commented out code 2016-09-12 09:51:45 -05:00
Matt Martz f88c41f97f Don't use the crazy units data descriptor, store as bits and convert as needed 2016-09-12 09:51:33 -05:00
Matt Martz 64b03777da Divide by float to avoid incorrect 0 values 2016-08-30 13:43:46 -05:00