Skip to main content

Pyspeedtest 1.2.7

Python script to check network bandwidth using Speedtest.net servers
_____________________________________________________
This package is out there from PyPI so you'll 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

Comments

Popular posts from this blog

Computer Vision: Algorithms and Applications

As humans,we perceive the three-dimensional structure of the planet around us with apparent ease. Think of how vivid the three-dimensional percept is once you check out a vase of flowers sitting on the table next to you. You can tell the form and translucency of every petal through the subtle patterns of sunshine and shading that play across its surface and effortlessly segment each flower from the background of the scene The forward models that we use in computer vision are usually developed in physics (radiometry, optics, and sensor design) and in computer graphics . Both of these fields model how objects move and animate, how light reflects off their surfaces, is scattered by the atmosphere, refracted through camera lenses (or human eyes), and finally projected onto a flat (or curved) image plane. While computer graphics aren't yet perfect (no fully computer animated movie with human characters has yet succeeded at crossing the uncanny valley2 that separates real humans from...

Twitter bot @real_human_vc is coming for your thought leaders

Spend enough time on Twitter and you’ll start to discern patterns in the scrolling chaos that feels a little like the internet’s id: the grudges, the feuds, the wet-brained political chatter, and the general flatulences tooted out by otherwise smart people. In other words: the state of play on the board. (As the editor Willy Staley might point out: there is a type of tweet for every type of guy.)                   While much of Twitter’s utility is derived from its function as an echo chamber — and while a lot of the fun comes from seeing just how large your favorite prominent person’s blindspots are — the best stuff on the site comes out of people using the platform as it’s intended to be used, which is to say, as a broadcasting tool. There is a category difference between the kinds of tweets cranked off into the internet’s roil of human emotion and the ones that are intended as Teachable Moments or Pearls of Wisdom. It’s in this la...

Python for Data Analysis By Wes McKinney

This book cares with the nuts and bolts of manipulating, processing, cleaning, and crunching data in Python. This Book is to supply a guide to the parts of the Python programming language and its data-oriented library ecosystem and tools which will equip you to become an efficient data analyst. While “data analysis” is within the title of the book, the main target is specifically on Python programming, libraries, and tools as against data analysis methodology. this is often the Python programming you would like for data analysis.0 Why Python for Data Analysis? For many people, the Python programming language has strong appeal. Since its introduction in 1991, Python has become one among the foremost popular interpreted programming languages, along side Perl, Ruby, etc. . Python and Ruby became especially popular since 2005 approximately for building websites using their numerous web frameworks, like Rails (Ruby) and Django (Python). Such languages are often called scripting lang...