Commit Graph

249 Commits

Author SHA1 Message Date
Matt Martz
eb5c4ddd08 Make sure we only check the length of args.server if it's truthy 2017-11-23 10:07:14 -06:00
Matt Martz
d7f9156ddc py35 work around 2017-11-23 09:57:59 -06:00
Matt Martz
e15a8636ff Install python3.2/3.3 from deadsnakes 2017-11-23 09:49:44 -06:00
Matt Martz
45e4b38ac3 No bare except 2017-11-23 09:49:26 -06:00
Matt Martz
9b0e6d75c6 Move the majority of the csv_header functionality to SpeedtestResults 2017-11-23 09:46:55 -06:00
Matt Martz
b13450e22a Support csv-delimiter for csv-header 2017-11-23 09:44:16 -06:00
Matt Martz
f5c34eb03c Output a different message when only 1 server is provided 2017-11-23 09:43:59 -06:00
Matt Martz
bf8164fb1f Add additional information to machine parsable outputs 2017-11-23 09:43:10 -06:00
Matt Martz
48301deac9 Attempt to catch MemoryError if possible 2017-10-16 09:26:47 -05:00
Matt Martz
afa79f263a Print errors to stderr 2017-10-16 09:26:28 -05:00
Matt Martz
bdaad9197d Always flush in py2 print_ 2017-06-02 09:56:45 -05:00
Matt Martz
3bf0036560 Allow timeout to be a float 2017-05-12 14:55:23 -05:00
Matt Martz
7df7c56a23 Add option to exclude servers, and allow --server and --exclude to be specified multiple times 2017-05-12 13:03:41 -05:00
Matt Martz
fca2006060 Create a getter for Speedtest.best to raise an exception is get_best_server has not found a best server 2017-05-12 13:01:59 -05:00
Matt Martz
36d8327b39 Indicate speedtest-cli supports python 3.6, and ensure py3.2 has an appropriate setuptools version 2017-05-05 10:50:44 -05:00
Matt Martz
203da2cd71 More and better debugging 2017-05-03 17:17:00 -05:00
Matt Martz
6f3ba24e92 Revert "Test failing --source"
This reverts commit be7d7f6a1c.
2017-05-03 11:02:35 -05:00
Matt Martz
be7d7f6a1c Test failing --source 2017-05-03 10:56:54 -05:00
Matt Martz
5cb3a19cd3 Switch to using matrix for travis 2017-05-03 10:44:46 -05:00
Matt Martz
d2a46ac897 Remove debug print 2017-05-02 12:51:26 -05:00
Matt Martz
d30a415f12 Docstrings and version bump 2017-05-02 12:38:33 -05:00
Matt Martz
cab2d55c51 Remove SCHEME global 2017-05-02 12:29:54 -05:00
Matt Martz
0614e07eb9 flake8 fixes 2017-05-02 11:08:32 -05:00
Matt Martz
b7a3decad9 Use vendored create_connection when socket doesn't have it, or socket.create_connection is too old 2017-05-02 11:08:22 -05:00
Matt Martz
bd390a36ae Don't override socket.socket for binding, eliminiate globals SOURCE and USER_AGENT 2017-05-02 10:56:31 -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