LeSysBot docs

Package version

1.1.0

Platforms

All platforms

Requires on PATH

nothing

Python dependencies

none

Install#

Install just this package:

shell
lesysbot tools install lesysbot/lesysbot-packages-official/tools/speedtest

Or take the whole Official packages collection at once:

shell
lesysbot install lesysbot/lesysbot-packages-official

Tools#

This package exposes 1 tool.

speedtest(size_mb=10.0)#

Download a test payload from Cloudflare and report throughput and latency.

Parameters

ParameterTypeDefaultDescription
size_mbfloat10.0Size of the test download in megabytes. Larger samples are more accurate on fast links; smaller ones finish sooner on slow ones.

Notes#

  • Marked tier: extra — it runs everywhere but deliberately moves tens of megabytes per call, so a bare collection install skips it; --only speedtest or --all installs it.
  • Uses Cloudflare's public speed-test endpoints over the standard library: no binary, no pip dependency, just outbound HTTPS.

Source#

Every package is a folder holding a README.md and a tool.py. Read this one on GitHub: lesysbot/lesysbot-packages-official/tools/speedtest.

To write your own, see Writing tools.