LeSysBot docs

Package version

not declared

Platforms

All platforms

Requires on PATH

nothing

Python dependencies

none

Install#

Nothing to do — this package ships inside LeSysBot and is available as soon as the installer finishes.

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#

  • Uses speed.cloudflare.com over the standard library — no speedtest binary and no pip dependency.
  • This is the same measurement the optional startup notice can run when LeSysBot boots. See the startup_notice block in Configuration.

Source#

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

To write your own, see Writing tools.