Skip to main content Python script

Project description

Build Status PyPI Version PyPI Python Versions

Python script to test network bandwidth using servers


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


In a terminal:

$ pyspeedtest -h
usage: pyspeedtest [OPTION]...

Test your bandwidth speed using 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:
Ping: 9 ms
Download speed: 148.17 Mbps
Upload speed: 18.56 Mbps

From a python script:

>>> import pyspeedtest
>>> st = pyspeedtest.SpeedTest()
>>> st.upload()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyspeedtest, version 1.2.7
Filename, size File type Python version Upload date Hashes
Filename, size pyspeedtest-1.2.7.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page