pyspeedtest
Python script to test network bandwidth using Speedtest.net servers
Installation
This package is available from PyPI so you can easily install it with:
sudo pip install pyspeedtest
Or only for your user
$ pip install --user pyspeedtest
Usage
In a terminal:
$ pyspeedtest -h
usage: pyspeedtest [OPTION]...
Test your bandwidth speed using Speedtest.net servers.
optional arguments:
-d L, --debug L set http connection debug level (default is 0)
-m M, --mode M test mode: 1 - download
2 - upload
4 - ping
1 + 2 + 4 = 7 - all (default)
-r N, --runs N use N runs (default is 2)
-s H, --server H use specific server
-v, --verbose output additional information
--version show program's version number and exit
$ pyspeedtest
Using server: speedtest.serv.pt
Ping: 9 ms
Download speed: 148.17 Mbps
Upload speed: 18.56 Mbps
From a python script:
>>> import pyspeedtest
>>> st = pyspeedtest.SpeedTest()
>>> st.ping()
9.306252002716064
>>> st.download()
42762976.92544772
>>> st.upload()
19425388.307319913
Metadata
Release files for pyspeedtest 1.2.7
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 |
|---|---|---|---|---|
| pyspeedtest-1.2.7.tar.gz | 6.8 kB | Without provenance | Details for pyspeedtest-1.2.7.tar.gz |
Release files / pyspeedtest-1.2.7.tar.gz
| Download URL | pyspeedtest-1.2.7.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
987509fb879b06680a92eef2486defd361cfb92e604f4a4d109364a8592a4a4d
|
|
BLAKE2b-256 checksum How to use checksums |
83b81fd99c76a49b2eb2f8f4d7ee335f5983d492b05d8e1bc091b7c7931ec613
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyspeedtest 1.2.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.