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 No coveralls.
            ***********
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

            {
    "_id": null,
    "home_page": "https://github.com/fopina/pyspeedtest",
    "name": "pyspeedtest",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "speedtest.net,speedtest,speed,test,bandwidth",
    "author": "Filipe Pina",
    "author_email": "fopina@skmobi.com",
    "download_url": "https://files.pythonhosted.org/packages/83/b8/1fd99c76a49b2eb2f8f4d7ee335f5983d492b05d8e1bc091b7c7931ec613/pyspeedtest-1.2.7.tar.gz",
    "platform": "UNKNOWN",
    "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",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Speedtest.net Python script",
    "version": "1.2.7",
    "project_urls": {
        "Download": "https://github.com/fopina/pyspeedtest/tarball/v1.2.7",
        "Homepage": "https://github.com/fopina/pyspeedtest"
    },
    "split_keywords": [
        "speedtest.net",
        "speedtest",
        "speed",
        "test",
        "bandwidth"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83b81fd99c76a49b2eb2f8f4d7ee335f5983d492b05d8e1bc091b7c7931ec613",
                "md5": "ef425e27f95e31ff00883d2712773e5f",
                "sha256": "987509fb879b06680a92eef2486defd361cfb92e604f4a4d109364a8592a4a4d"
            },
            "downloads": -1,
            "filename": "pyspeedtest-1.2.7.tar.gz",
            "has_sig": false,
            "md5_digest": "ef425e27f95e31ff00883d2712773e5f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6764,
            "upload_time": "2016-08-06T09:23:20",
            "upload_time_iso_8601": "2016-08-06T09:23:20.576423Z",
            "url": "https://files.pythonhosted.org/packages/83/b8/1fd99c76a49b2eb2f8f4d7ee335f5983d492b05d8e1bc091b7c7931ec613/pyspeedtest-1.2.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2016-08-06 09:23:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fopina",
    "github_project": "pyspeedtest",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyspeedtest"
}
        
Elapsed time: 0.33185s