Alex Bligh
4be797d5cd
Add --no-download and --no-upload
...
Add --no-download and --no-upload. These flags allow the download
and/or upload tests to be skipped. These are useful when debugging
a problem that appears only with upload or download, and makes
a tcpdump more readable.
Signed-off-by: Alex Bligh <alex@alex.org.uk>
2017-03-18 19:24:06 +01: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
Matt Martz
01abb3ae71
Add ability to print out the CSV headers
2016-08-29 09:42:14 -05:00
Matt Martz
884c7fed87
Also list py3.5
2016-05-27 11:36:58 -05:00
Matt Martz
38870b69ea
Update readme for deprecation
2016-05-27 11:32:36 -05:00
Matt Martz
4bd4b7dfec
Bump copyright date range
2016-05-27 11:31:53 -05:00
Matt Martz
5e0bd05c81
Deprecate speedtest_cli.py
2016-05-27 11:31:43 -05:00
Matt Martz
b3f9a48cbb
Handle py3 compatibility for speedtest mini servers
2016-05-26 15:20:58 -05:00
Matt Martz
478f9affdd
Better detection of file extension for mini server
2016-05-26 15:20:15 -05:00
Matt Martz
9ccce5d861
Remove unneeded constants
2016-05-16 16:57:59 -05:00
Matt Martz
2a4990c96c
request may get overwritten, use self.request
2016-05-16 16:34:13 -05:00
Matt Martz
07c38d7194
Pre build requests, lazy build upload data
2016-05-16 16:10:51 -05:00
Matt Martz
c5f75f783e
More accurate timing by setting stop stamp earlier
2016-05-16 11:35:31 -05:00
Matt Martz
050da542b3
Remove unneeded var, clear servers on get_servers and break if we were successful collecting servers
2016-05-16 11:34:38 -05:00
Matt Martz
e14f7ed108
Try an old virtualenv version with py32
2016-03-10 10:55:04 -06:00
Matt Martz
a7e9bc695e
Install py32 compatible pip
2016-03-10 10:44:21 -06:00
Matt Martz
77db2ea8f4
Move xml.parsers.expat import for flake8
2016-03-10 10:15:00 -06:00
Matt Martz
e4218c7612
ssl.CertificateError not always available
2016-03-10 09:54:04 -06:00
Matt Martz
69bae532c5
Ensure we don't accidentally set debug in python versions using optparse
2016-03-07 17:07:48 -06:00
Matt Martz
4f7f367391
Handle SSL errors, and specify scheme for CDN URLs
2016-03-07 17:06:22 -06:00
Matt Martz
08e87f4c54
make sure ignore_servers is a list
2016-03-07 17:05:28 -06:00
Matt Martz
aa52e550bf
Threading and callback improvements
2016-03-07 17:05:05 -06:00
Matt Martz
537c5aeda0
Remove unneeded imports
2016-03-07 17:03:39 -06:00
Matt Martz
95fe038752
Handle HTTPSConnection imports differently, don't bail unless we need it
2016-03-07 17:02:11 -06:00