I found this solution here: Python Speedtest facing problems with certification ssl.c:1056, that suggests manually approving the certificates. The documentation for speedtest-cli is scarce. Released: Project description gui-speedtest-fastcom Python GUI-tool to measure Internet speed with and. POSIX OSX Linux - GitHub - rsvp/speedtest-linux: Get download/upload speeds via or from command line using Bash script - suitable for logs. I cant figure out how to change this Python-line: test speedtest.Speedtest() to use a -secure-flag (nor via HTTPS). 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įrom a python script: > import pyspeedtest > st = pyspeedtest. Get download/upload speeds via or from command line using Bash script - suitable for logs. Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java. Test your bandwidth speed using servers. In a terminal: $ pyspeedtest -h usage: pyspeedtest. Or only for your user $ pip install -user pyspeedtest Usage This package is available from PyPI so you can easily install it with: sudo pip install pyspeedtest Visual Studio 2015 Community + ironpython 2.7. But I cant get any output from ironpython. Python script to test network bandwidth using servers Installation Im trying to embed speedtest-cli python script in a c project through ironpython. From locust import HttpUser, between, task class WebsiteUser ( HttpUser ) : wait_time = between ( 5, 15 ) def on_start ( self ) : self.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |