Bundled with LeSysBot
speedtest
Measure internet download speed and latency.
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
| Parameter | Type | Default | Description |
|---|---|---|---|
size_mb | float | 10.0 | Size 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.