Commit Graph

  • 2c89c53a79 Switch upload pre-allocation to true, but allow disabling Matt Martz 2017-04-25 10:34:20 -05:00
  • 401c469991 Do better calculations of the number of uploads per size to perform Matt Martz 2017-04-25 10:08:14 -05:00
  • 3c1c9d3179 Be consistent, use the shorter var Matt Martz 2017-04-25 10:07:34 -05:00
  • e2f815618b Be consistent, explicitly instantiate all exceptions Matt Martz 2017-04-25 10:07:05 -05:00
  • 955a756c96 Ensure to specify Z for UTC in iso8601 date. Fixes #388 Matt Martz 2017-04-24 13:32:35 -05:00
  • ceef55488c Bump to v1.0.5 v1.0.5 Matt Martz 2017-04-21 14:38:57 -05:00
  • 20eeadcb0c Reorder StringIO imports again, add to_utf8 function to ensure we encode csv data properly. Fixes #385 Matt Martz 2017-04-19 10:33:01 -05:00
  • 4aebe01c3e Bump version to 1.0.4 v1.0.4 Matt Martz 2017-04-12 12:19:39 -05:00
  • 1871b26b9a Flake8 fix Matt Martz 2017-04-11 10:29:07 -05:00
  • 824c584658 Invert logic for py3 print detection, to avoid confusion created by the future package Matt Martz 2017-04-11 10:18:42 -05:00
  • 9806e401e0 Prefer io over cStringIO and StringIO Matt Martz 2017-04-10 19:43:46 -05:00
  • 1642d0669f Handle utf-8 output encoding in py3 also. Fixes #382 Matt Martz 2017-04-10 15:32:14 -05:00
  • f6f4f4e7ef Flake8 fix utf8-encoding Matt Martz 2017-04-11 10:29:07 -05:00
  • 87cfede4df Invert logic for py3 print detection, to avoid confusion created by the future package Matt Martz 2017-04-11 10:18:42 -05:00
  • fed0d94741 Prefer io over cStringIO and StringIO Matt Martz 2017-04-10 19:43:46 -05:00
  • 51d5b2d2c9 Handle utf-8 output encoding in py3 also Matt Martz 2017-04-10 15:32:14 -05:00
  • 2e79fbf1dc Bump to 1.0.3 v1.0.3 Matt Martz 2017-03-30 19:29:40 -05:00
  • f20e8808a8 Add link to python api docs Matt Martz 2017-03-24 15:31:02 -05:00
  • 3feb38d9d4 Allow skipping download or upload tests. Fixes #377 Matt Martz 2017-03-24 15:30:52 -05:00
  • d712f947d9 Always print using utf-8. Fixes #362 Matt Martz 2017-03-17 16:21:01 -05:00
  • 55b3cf14a3 Allow --share to work with --simple and --json. Fixes #375 Matt Martz 2017-03-17 16:06:48 -05:00
  • 33e498beb3 Add bytes_sent and bytes_received to the json output. Addresses #358 Matt Martz 2017-01-18 15:03:32 -06:00
  • 068d71597b Bump to 1.0.2 v1.0.2 Matt Martz 2017-01-18 14:10:02 -06:00
  • 1863c35f6b alpha version bump Matt Martz 2017-01-09 19:49:19 -06:00
  • 823d7dc2b7 Better handling of retrieving config and server list Matt Martz 2017-01-09 19:48:35 -06:00
  • 411f1609e8 Don't sys.exit(1), instead either raise the exception, or a new SpeedtestCLIError. Fixes #352 Matt Martz 2017-01-06 13:20:46 -06:00
  • 7b38e264bc Bump to 1.0.1 v1.0.1 Matt Martz 2016-12-22 11:35:06 -06:00
  • 2acba6ecd7 Revert "Pre create upload data, to not impact timing" Matt Martz 2016-12-12 14:08:20 -06:00
  • 53ef57bd5e Ensure we install speedtest_cli.py v1.0.0 Matt Martz 2016-11-17 11:20:19 -06:00
  • c512684ffa Don't use mutable defaults as args for methods Matt Martz 2016-11-11 10:00:24 -06:00
  • 6685d91729 Pre create upload data, to not impact timing Matt Martz 2016-11-04 16:05:57 -05:00
  • 91270dbc67 Update README with changes to help modularize-2 Matt Martz 2016-11-04 10:04:17 -05:00
  • b75ecc291c Test on py35 also Matt Martz 2016-11-02 20:56:40 -05:00
  • 1d6717e714 Fix debug in py<=2.5 Matt Martz 2016-11-02 19:47:55 -05:00
  • d41cfc0cb1 Use BytesIO on py3 in HTTPUploaderData Matt Martz 2016-11-02 19:47:31 -05:00
  • 59880107a7 Support gzip encoding if available Matt Martz 2016-11-02 19:47:07 -05:00
  • 4280c448cf Debug print XML from servers Matt Martz 2016-09-27 13:45:32 -05:00
  • 9f44a72fdb Add debug output to latency testing Matt Martz 2016-09-27 11:23:25 -05:00
  • b075152e3e Catch scenario where no servers could be connected to for latency tests Matt Martz 2016-09-26 11:07:02 -05:00
  • 2be4d0a5e7 Make sure to enumerate requests to support cache busting properly Matt Martz 2016-09-19 16:40:32 -05:00
  • 9299e0860c Add additional note that --bytes doesn't affect json or csv Matt Martz 2016-09-14 10:34:38 -05:00
  • 292e250990 Update API post data to match current UI post data Matt Martz 2016-09-14 10:34:20 -05:00
  • fd8b8cfa92 Fix SpeedtestResults attributes for upload and download Matt Martz 2016-09-14 10:33:32 -05:00
  • 9e3a5b3a59 update usage information Matt Martz 2016-09-13 09:02:29 -05:00
  • 53b760dfba Adjust copyright in setup.py Matt Martz 2016-09-13 08:54:02 -05:00
  • d0c927e8ae Don't concern SpeedtestResults with units Matt Martz 2016-09-13 08:50:15 -05:00
  • 6fffcd5b63 Remove unneeded commented out code Matt Martz 2016-09-12 09:51:45 -05:00
  • f88c41f97f Don't use the crazy units data descriptor, store as bits and convert as needed Matt Martz 2016-09-12 09:51:33 -05:00
  • 64b03777da Divide by float to avoid incorrect 0 values Matt Martz 2016-08-30 13:43:46 -05:00
  • 01abb3ae71 Add ability to print out the CSV headers Matt Martz 2016-08-29 09:42:14 -05:00
  • 884c7fed87 Also list py3.5 Matt Martz 2016-05-27 11:36:58 -05:00
  • 38870b69ea Update readme for deprecation Matt Martz 2016-05-27 11:32:36 -05:00
  • 4bd4b7dfec Bump copyright date range Matt Martz 2016-05-27 11:31:53 -05:00
  • 5e0bd05c81 Deprecate speedtest_cli.py Matt Martz 2016-05-27 11:31:43 -05:00
  • b3f9a48cbb Handle py3 compatibility for speedtest mini servers Matt Martz 2016-05-26 15:20:58 -05:00
  • 478f9affdd Better detection of file extension for mini server Matt Martz 2016-05-26 15:20:15 -05:00
  • 9ccce5d861 Remove unneeded constants Matt Martz 2016-05-16 16:57:59 -05:00
  • 2a4990c96c request may get overwritten, use self.request Matt Martz 2016-05-16 16:34:13 -05:00
  • 07c38d7194 Pre build requests, lazy build upload data Matt Martz 2016-05-16 16:10:51 -05:00
  • c5f75f783e More accurate timing by setting stop stamp earlier Matt Martz 2016-05-16 11:35:31 -05:00
  • 050da542b3 Remove unneeded var, clear servers on get_servers and break if we were successful collecting servers Matt Martz 2016-05-16 11:34:38 -05:00
  • e14f7ed108 Try an old virtualenv version with py32 Matt Martz 2016-03-10 10:55:04 -06:00
  • a7e9bc695e Install py32 compatible pip Matt Martz 2016-03-10 10:44:21 -06:00
  • 77db2ea8f4 Move xml.parsers.expat import for flake8 Matt Martz 2016-03-10 10:15:00 -06:00
  • e4218c7612 ssl.CertificateError not always available Matt Martz 2016-03-10 09:54:04 -06:00
  • 69bae532c5 Ensure we don't accidentally set debug in python versions using optparse Matt Martz 2016-03-07 17:07:48 -06:00
  • 4f7f367391 Handle SSL errors, and specify scheme for CDN URLs Matt Martz 2016-03-07 17:06:22 -06:00
  • 08e87f4c54 make sure ignore_servers is a list Matt Martz 2016-03-07 17:05:28 -06:00
  • aa52e550bf Threading and callback improvements Matt Martz 2016-03-07 17:05:05 -06:00
  • 537c5aeda0 Remove unneeded imports Matt Martz 2016-03-07 17:03:39 -06:00
  • 95fe038752 Handle HTTPSConnection imports differently, don't bail unless we need it Matt Martz 2016-03-07 17:02:11 -06:00
  • 1c0a029ca6 Handle broken pipe exceptions more effectively Matt Martz 2016-03-07 17:00:46 -06:00
  • 9913b9915f Update print_ from six, so that encoding can be handled automatically Matt Martz 2016-03-07 16:59:41 -06:00
  • a4cb217522 download and upload measurements should be stored in SpeedtestResults in the units specified, defaulting to bits Matt Martz 2016-01-05 16:06:18 -06:00
  • d09ec27cb2 Address performance degredation by incerasing read default from 1500 back to 10240 Matt Martz 2016-01-05 16:05:12 -06:00
  • 446e6eb27e Update tox.ini to reflect filename change Matt Martz 2015-12-28 14:34:07 -06:00
  • 81182c1c94 Rename from speedtest_cli.py to speedtest.py, but maintain backwards compat with a symlink Matt Martz 2015-12-28 14:32:47 -06:00
  • 51014d5a70 flake8 fixes Matt Martz 2015-12-23 12:44:14 -06:00
  • 65145d9aae Also debug the user-agent Matt Martz 2015-12-23 12:29:40 -06:00
  • 308c530f07 Add hidden debug option, which prints debug information Matt Martz 2015-12-23 12:25:50 -06:00
  • abe85d85ff Implement cache busting Matt Martz 2015-12-23 12:23:42 -06:00
  • d1b1185bfc Change how we build out info from config data Matt Martz 2015-12-23 12:22:36 -06:00
  • 713860a4b4 Build user agent, if not built by the time build_request happens Matt Martz 2015-12-22 15:53:53 -06:00
  • ff606d0ec1 Update README Matt Martz 2015-12-22 15:53:26 -06:00
  • 3f22a9d815 Move representation methods, and add __repr__ Matt Martz 2015-12-22 15:20:30 -06:00
  • cb6dee8a77 1st pass on 2nd attempt at modularizing the code base Matt Martz 2015-12-22 15:02:07 -06:00
  • 7b09d8759f Bumping to 0.3.4 v0.3.4 Matt Martz 2015-09-21 11:37:50 -05:00
  • 25d845362c 2015 Matt Martz 2015-09-21 11:37:32 -05:00
  • 4b9662e0b3 Bump to 0.3.3 v0.3.3 Matt Martz 2015-09-21 11:26:54 -05:00
  • 93951f1154 Migrate from pypip.in to shields.io. Fixes #164 Matt Martz 2015-08-19 11:51:24 -05:00
  • 0e6b85d4d5 printf requires a tuple Matt Martz 2015-08-19 11:36:44 -05:00
  • 6ab5f27300 Add server list URLs without -static also. Fixes #167 Matt Martz 2015-08-19 11:34:55 -05:00
  • 2ee26bbf54 Update README with new help info Matt Martz 2015-08-19 11:34:36 -05:00
  • 514b310484 Fix missing space Matt Martz 2015-05-21 14:31:05 -05:00
  • 918e70e66d Remove py31 Matt Martz 2015-05-20 18:00:19 -05:00
  • bae642ccde Meant to add an additional line for compileall Matt Martz 2015-05-20 14:52:35 -05:00
  • 1df3e76b19 Switch to travis addons for installing deadsnakes Matt Martz 2015-05-20 14:49:45 -05:00
  • 1ed6aba90c Use travis addons 24test Matt Martz 2015-05-20 11:37:40 -05:00
  • 1e44e9e2f1 Always encode server info always-encode Matt Martz 2015-05-17 19:50:05 -05:00
  • 9b9e5f0fe3 python24 travis issue diagnosis attempt Matt Martz 2015-05-15 11:12:22 -05:00