pyspeedtest


Namepyspeedtest JSON
Version 1.2.7 PyPI version JSON
download
home_pagehttps://github.com/fopina/pyspeedtest
SummarySpeedtest.net Python script
upload_time2016-08-06 09:23:20
maintainerNone
docs_urlNone
authorFilipe Pina
requires_pythonNone
licenseMIT
keywords speedtest.net speedtest speed test bandwidth
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage
            ***********
pyspeedtest
***********

.. image:: https://travis-ci.org/fopina/pyspeedtest.svg?branch=master
    :target: https://travis-ci.org/fopina/pyspeedtest
    :alt: Build Status

.. image:: https://img.shields.io/pypi/v/pyspeedtest.svg
    :target: https://pypi.python.org/pypi/pyspeedtest
    :alt: PyPI Version

.. image:: https://img.shields.io/pypi/pyversions/pyspeedtest.svg
    :target: https://pypi.python.org/pypi/pyspeedtest
    :alt: PyPI Python Versions

Python script to test network bandwidth using Speedtest.net servers

============
Installation
============


This package is available from PyPI so you can easily install it with:

.. code-block:: bash

    sudo pip install pyspeedtest

Or only for your user

.. code-block:: bash

    $ pip install --user pyspeedtest

=====
Usage
=====

In a terminal:

.. code-block:: bash

    $ 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

.. code-block:: bash

    $ pyspeedtest
    Using server: speedtest.serv.pt
    Ping: 9 ms
    Download speed: 148.17 Mbps
    Upload speed: 18.56 Mbps

From a python script:

.. code-block:: python

    >>> import pyspeedtest
    >>> st = pyspeedtest.SpeedTest()
    >>> st.ping()
    9.306252002716064
    >>> st.download()
    42762976.92544772
    >>> st.upload()
    19425388.307319913
            

Raw data

            {
    "maintainer": null, 
    "docs_url": null, 
    "requires_python": null, 
    "maintainer_email": null, 
    "cheesecake_code_kwalitee_id": null, 
    "keywords": "speedtest.net,speedtest,speed,test,bandwidth", 
    "upload_time": "2016-08-06 09:23:20", 
    "author": "Filipe Pina", 
    "home_page": "https://github.com/fopina/pyspeedtest", 
    "github_user": "fopina", 
    "download_url": "https://pypi.python.org/packages/83/b8/1fd99c76a49b2eb2f8f4d7ee335f5983d492b05d8e1bc091b7c7931ec613/pyspeedtest-1.2.7.tar.gz", 
    "platform": "UNKNOWN", 
    "version": "1.2.7", 
    "cheesecake_documentation_id": null, 
    "description": "***********\npyspeedtest\n***********\n\n.. image:: https://travis-ci.org/fopina/pyspeedtest.svg?branch=master\n    :target: https://travis-ci.org/fopina/pyspeedtest\n    :alt: Build Status\n\n.. image:: https://img.shields.io/pypi/v/pyspeedtest.svg\n    :target: https://pypi.python.org/pypi/pyspeedtest\n    :alt: PyPI Version\n\n.. image:: https://img.shields.io/pypi/pyversions/pyspeedtest.svg\n    :target: https://pypi.python.org/pypi/pyspeedtest\n    :alt: PyPI Python Versions\n\nPython script to test network bandwidth using Speedtest.net servers\n\n============\nInstallation\n============\n\n\nThis package is available from PyPI so you can easily install it with:\n\n.. code-block:: bash\n\n    sudo pip install pyspeedtest\n\nOr only for your user\n\n.. code-block:: bash\n\n    $ pip install --user pyspeedtest\n\n=====\nUsage\n=====\n\nIn a terminal:\n\n.. code-block:: bash\n\n    $ pyspeedtest -h\n    usage: pyspeedtest [OPTION]...\n\n    Test your bandwidth speed using Speedtest.net servers.\n\n    optional arguments:\n      -d L, --debug L   set http connection debug level (default is 0)\n      -m M, --mode M    test mode: 1 - download\n                                   2 - upload\n                                   4 - ping\n                                   1 + 2 + 4 = 7 - all (default)\n      -r N, --runs N    use N runs (default is 2)\n      -s H, --server H  use specific server\n      -v, --verbose     output additional information\n      --version         show program's version number and exit\n\n.. code-block:: bash\n\n    $ pyspeedtest\n    Using server: speedtest.serv.pt\n    Ping: 9 ms\n    Download speed: 148.17 Mbps\n    Upload speed: 18.56 Mbps\n\nFrom a python script:\n\n.. code-block:: python\n\n    >>> import pyspeedtest\n    >>> st = pyspeedtest.SpeedTest()\n    >>> st.ping()\n    9.306252002716064\n    >>> st.download()\n    42762976.92544772\n    >>> st.upload()\n    19425388.307319913", 
    "lcname": "pyspeedtest", 
    "bugtrack_url": "", 
    "github": true, 
    "coveralls": true, 
    "name": "pyspeedtest", 
    "license": "MIT", 
    "travis_ci": true, 
    "github_project": "pyspeedtest", 
    "summary": "Speedtest.net Python script", 
    "split_keywords": [
        "speedtest.net", 
        "speedtest", 
        "speed", 
        "test", 
        "bandwidth"
    ], 
    "author_email": "fopina@skmobi.com", 
    "urls": [
        {
            "has_sig": false, 
            "upload_time": "2016-08-06T09:23:20", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/83/b8/1fd99c76a49b2eb2f8f4d7ee335f5983d492b05d8e1bc091b7c7931ec613/pyspeedtest-1.2.7.tar.gz", 
            "md5_digest": "ef425e27f95e31ff00883d2712773e5f", 
            "downloads": 0, 
            "filename": "pyspeedtest-1.2.7.tar.gz", 
            "packagetype": "sdist", 
            "path": "83/b8/1fd99c76a49b2eb2f8f4d7ee335f5983d492b05d8e1bc091b7c7931ec613/pyspeedtest-1.2.7.tar.gz", 
            "size": 6764
        }
    ], 
    "_id": null, 
    "cheesecake_installability_id": null
}