2013-09-16 19:37:55 +02:00
|
|
|
speedtest-cli
|
|
|
|
=============
|
|
|
|
|
|
|
|
Command line interface for testing internet bandwidth using
|
|
|
|
speedtest.net
|
|
|
|
|
2013-09-25 17:14:26 +02:00
|
|
|
.. image:: https://pypip.in/v/speedtest-cli/badge.png
|
2014-02-18 16:25:22 +01:00
|
|
|
:target: https://pypi.python.org/pypi/speedtest-cli/
|
|
|
|
:alt: Latest Version
|
2013-09-25 17:14:26 +02:00
|
|
|
.. image:: https://pypip.in/d/speedtest-cli/badge.png
|
2014-02-21 00:07:53 +01:00
|
|
|
:target: https://pypi.python.org/pypi/speedtest-cli/
|
2014-02-18 16:25:22 +01:00
|
|
|
:alt: Downloads
|
|
|
|
.. image:: https://pypip.in/license/speedtest-cli/badge.png
|
|
|
|
:target: https://pypi.python.org/pypi/speedtest-cli/
|
|
|
|
:alt: License
|
2013-09-25 03:00:39 +02:00
|
|
|
|
2013-09-16 19:37:55 +02:00
|
|
|
Versions
|
|
|
|
--------
|
|
|
|
|
2013-12-03 19:59:48 +01:00
|
|
|
speedtest-cli works with Python 2.4-3.4
|
2013-09-16 19:37:55 +02:00
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
|
|
|
pip / easy\_install
|
|
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2013-09-25 03:00:39 +02:00
|
|
|
::
|
|
|
|
|
|
|
|
pip install speedtest-cli
|
2013-09-16 19:37:55 +02:00
|
|
|
|
|
|
|
or
|
|
|
|
|
2013-09-25 03:00:39 +02:00
|
|
|
::
|
|
|
|
|
|
|
|
easy_install speedtest-cli
|
2013-09-16 19:37:55 +02:00
|
|
|
|
|
|
|
Github
|
|
|
|
~~~~~~
|
|
|
|
|
2013-09-25 03:00:39 +02:00
|
|
|
::
|
|
|
|
|
|
|
|
pip install git+https://github.com/sivel/speedtest-cli.git
|
2013-09-16 19:37:55 +02:00
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
git clone https://github.com/sivel/speedtest-cli.git
|
2013-09-17 15:42:21 +02:00
|
|
|
python speedtest-cli/setup.py install
|
2013-09-16 19:37:55 +02:00
|
|
|
|
2013-09-16 19:39:36 +02:00
|
|
|
Just download (Like the way it used to be)
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2013-09-16 19:37:55 +02:00
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
|
|
|
|
chmod +x speedtest-cli
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
curl -o speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
|
|
|
|
chmod +x speedtest-cli
|
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
$ speedtest-cli -h
|
|
|
|
usage: speedtest-cli [-h] [--share] [--simple] [--list] [--server SERVER]
|
2013-11-11 17:06:38 +01:00
|
|
|
[--mini MINI] [--source SOURCE] [--version]
|
2013-09-16 19:37:55 +02:00
|
|
|
|
|
|
|
Command line interface for testing internet bandwidth using speedtest.net.
|
|
|
|
--------------------------------------------------------------------------
|
|
|
|
https://github.com/sivel/speedtest-cli
|
|
|
|
|
|
|
|
optional arguments:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
--share Generate and provide a URL to the speedtest.net share
|
|
|
|
results image
|
|
|
|
--simple Suppress verbose output, only show basic information
|
|
|
|
--list Display a list of speedtest.net servers sorted by distance
|
|
|
|
--server SERVER Specify a server ID to test against
|
|
|
|
--mini MINI URL of the Speedtest Mini server
|
2013-11-11 17:06:38 +01:00
|
|
|
--source SOURCE Source IP address to bind to
|
2013-10-08 14:17:40 +02:00
|
|
|
--version Show the version number and exit
|
2013-09-16 19:37:55 +02:00
|
|
|
|