Daniel Lenski
ca4f4a3222
Use identical download sizes for HTTP- and socket-based download tests
...
This requires switching the HTTP download test from the
`/speedtest/randomNxN.jpg` endpoint to the `/download?size=N` endpoint, as
used by the web interface of Speedtest.net currently.
2021-12-31 11:11:37 -05:00
Matt Martz
3692ad259b
flake8 fixup
2018-03-23 11:08:35 -05:00
Matt Martz
59d4172446
Add ability to set new custom speedtest servers (not mini)
2018-03-23 11:06:57 -05:00
Matt Martz
5d0c62faec
Handle socket failures while testing latency
2018-03-23 09:37:51 -05:00
Matt Martz
ced2890261
Create base class SocketTestBase to dedupe code
2018-03-23 09:37:38 -05:00
Matt Martz
fedf42e838
flake8 fixes
2018-03-22 17:00:29 -05:00
Matt Martz
4ce4019331
Add socket based latency test
2018-03-22 16:58:34 -05:00
Matt Martz
0ef2f6b04c
First pass at adding ability to test using newer socket based connection
2018-03-22 15:49:28 -05:00
Matt Martz
9c2977acfc
Gracefully handle XML parsing errors. Fixes #490 #491
2018-03-09 09:46:10 -06:00
Matt Martz
f8aa20ecdf
Move results.share() to ensure csv and json have access to it. Fixes #483
2018-02-20 14:59:08 -06:00
Matt Martz
8ff923b0fb
Bump to 2.0.1a
2018-02-13 16:22:23 -06:00
Matt Martz
35c3ee20ed
Exit with nicer error if lat/lon is not valid
2018-02-13 16:21:57 -06:00
Matt Martz
831c079113
Bump for release
2018-02-05 16:17:03 -06:00
Matt Martz
2c847a1849
Add some guard code for places where sys.stdout and stderr are replaced with some other incompatible object
2018-01-26 15:52:06 -06:00
Matt Martz
e1bab1ab55
Only add terminal colors with DEBUG if stdout is a tty
2018-01-08 16:57:26 -06:00
Matt Martz
48a3d33ae4
Bump to beta
2018-01-03 09:16:51 -06:00
Matt Martz
c16ffd4ae7
Catch OSError and EOFError while reading from gzip stream
2018-01-02 18:32:03 -06:00
Matt Martz
9848481d06
Use the printer everywhere, leaving print_ to only be used within printer
2018-01-02 18:22:16 -06:00
Matt Martz
4737a69f10
Add a few additional tests, specifically around --source
2018-01-02 17:16:52 -06:00
Matt Martz
6381ba3742
Eliminate SHUTDOWN_EVENT global
2018-01-02 16:07:46 -06:00
Matt Martz
fa2e15ee08
Skipping test should be quiet
2017-12-11 09:36:03 -06:00
Matt Martz
eab354603f
Don't display ERROR: 2 when argparse exits with non-0
2017-12-11 09:35:41 -06:00
Matt Martz
f70cc86222
No bare except
2017-11-23 10:16:23 -06:00
Matt Martz
5c061da8e0
Move the majority of the csv_header functionality to SpeedtestResults
2017-11-23 10:16:23 -06:00
Matt Martz
b27f69d1ad
Output a different message when only 1 server is provided
2017-11-23 10:15:48 -06:00
Matt Martz
5a9f82a20a
Add additional information to machine parsable outputs
2017-11-23 10:15:46 -06:00
Matt Martz
3cb44f5630
Attempt to catch MemoryError if possible
2017-11-23 10:15:09 -06:00
Matt Martz
16054cc3bc
Print errors to stderr
2017-11-23 10:15:09 -06:00
Matt Martz
d9642b2047
Always flush in py2 print_
2017-11-23 10:15:09 -06:00
Matt Martz
f3a607feb2
Allow timeout to be a float
2017-11-23 10:15:09 -06:00
Matt Martz
6bfa5922c3
Add option to exclude servers, and allow --server and --exclude to be specified multiple times
2017-11-23 10:15:09 -06:00
Matt Martz
ca72d40033
Create a getter for Speedtest.best to raise an exception is get_best_server has not found a best server
2017-11-23 10:15:09 -06:00
Matt Martz
8854d82049
More and better debugging
2017-11-23 10:15:09 -06:00
Matt Martz
2fe34ecf4e
Remove debug print
2017-11-23 10:15:09 -06:00
Matt Martz
0e585cbf64
Docstrings and version bump
2017-11-23 10:15:07 -06:00
Matt Martz
2fe369fdf8
Remove SCHEME global
2017-11-23 10:14:35 -06:00
Matt Martz
b33c7533df
flake8 fixes
2017-11-23 10:14:35 -06:00
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