Command line interface for testing internet bandwidth using speedtest.net.
Based on sivel/speedtest-cli, repackaged as a modern Python package with Typer and Rich output.
Installation
pip install mbps
Or with uv:
uv tool install mbps
Usage
mbps
Options
| Flag | Description |
|---|---|
--no-download |
Skip download test |
--no-upload |
Skip upload test |
--single |
Single connection (simulates typical file transfer) |
--bytes |
Display values in bytes instead of bits |
--share |
Generate a speedtest.net share results URL |
--simple |
Minimal output |
--csv |
CSV output (speeds in bit/s) |
--csv-delimiter |
Custom CSV delimiter (default ,) |
--csv-header |
Print CSV headers |
--json |
JSON output (speeds in bit/s) |
--list |
List available servers sorted by distance |
--server ID |
Test against a specific server (repeatable) |
--exclude ID |
Exclude a server (repeatable) |
--mini URL |
Speedtest Mini server URL |
--source IP |
Bind to a specific source IP |
--timeout SEC |
HTTP timeout in seconds (default 10) |
--secure |
Use HTTPS |
--no-pre-allocate |
Disable upload pre-allocation (for low-memory systems) |
--version |
Show version and exit |
License
Apache-2.0
Metadata
Release files for mbps 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mbps-0.1.2.tar.gz | 15.8 kB | With provenance | Details for mbps-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mbps-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for mbps-0.1.2-py3-none-any.whl |
Total release size: 39.1 kB
Release files / mbps-0.1.2.tar.gz
| Download URL | mbps-0.1.2.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a460958164a736a7b21391105cae9f532140fac3dbfb5486aa533a4db03d4011
|
|
BLAKE2b-256 checksum How to use checksums |
d524ff5825e77ad06b6defeca031f34c5eeeb8b195b87dab364d8b5de901f959
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 12, 2026.
Transparency logRelease files / mbps-0.1.2-py3-none-any.whl
| Download URL | mbps-0.1.2-py3-none-any.whl |
|---|---|
| Size | 23.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
466649d5a7512d94cd639d831c0605c2977eab03b8e3a080ea4e403997772120
|
|
BLAKE2b-256 checksum How to use checksums |
3265c72e1dd0179081d5d6a240073233dde94e727d3ecc1733ba019a19229da7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 12, 2026.
Transparency logSecurity for mbps 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for mbps-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.