Questions tagged [speed-test]

Command line interface for testing internet bandwidth using speedtest.net. Speedtest on pypi.org

103 questions
0
votes
1 answer

Making a request to a specific server with "speedtest-cli" for python

I wrote a code that does a speed test every 3 hours using python. get_best_server() can make requests to servers far away from me. When I do it on the website, it really finds the closest city-based. I have the server id closest to me, how can I…
Hamsi
  • 1
  • 1
0
votes
0 answers

attempts to display the speedtest graph

Hello there i'm new to python and I'm trying to do speed testing using python getting data from (speedtest.net). I wrote the code, the speed shows, everything is fine, but now I need the graph to also be shown, as on the speedtest website itself.…
kkhusrav
  • 1
  • 1
0
votes
1 answer

Does speed.cloudflare.com have a JavaScript API for testing internet speed not in the cli?

I'm looking to create a client-side button that allows the user to test their internet speed. That internet speed will then be reported back to a spreadsheet using Google Sheets API. I really like Cloudflare's internet speed testing console, as well…
ike5
  • 188
  • 1
  • 10
0
votes
1 answer

How to automate a command input in Colab

Everytime i have to agree to the speedtest terms of Ookla by typing 'Y'. Is there any way to automate this input. (in the same cell). Such that i won't have to type 'y' personally there I tried finding a solution on Google. But google doesn't seem…
0
votes
1 answer

how to force python call to speedtest.py use secure servers

I'm calling speedtest.py from my python program in order to run a speed test. After importing speedtest.py I create a speedtest object using s = speedtest.Speedtest() servers = s.get_best_server() then run upload/download tests. This has been…
Shawn
  • 3,031
  • 4
  • 26
  • 53
0
votes
1 answer

logical error with calculating download consumption

I wrote this code to calculate my internet consumption starting from the time it is started, but it seems to give large number that did not express the real consumption, I could not figure out where I made mistake So why is it doing this, is there…
Esra Issam
  • 17
  • 5
0
votes
1 answer

Speedtest using python kivy

I wrote the back end of a speed test and now I am trying to make a graphical user interface that dynamically shows the fluctuations in a speed test on a gauge until it gets the speed. But I couldn't, I just made it in a static way for now. any…
Esra Issam
  • 17
  • 5
0
votes
1 answer

how to show function executing data in GUI?

My python application shows the internet speed but the function takes about 30 seconds to finish so how can I represent the sentences that it gives such as "loading server list ...." in a GUI like tkinter or kivy ?
Esra Issam
  • 17
  • 5
0
votes
1 answer

How to make 2 functions work at the same time?

I am trying to make an internet speedtest app using Python and Kivy, The function that gives the internet speed needs about 30 seconds to work So in the GUI the program stops until the function return the internet speed How can i make a loading bar…
0
votes
2 answers

How to to get Image file metadata from it's path

I want to upload a image file from Reactjs which is in my project folder ("../assets.cover.png") without using input, when I'm trying import cover from "../assets.cover.png" it's giving me file path but what I need is file metadata to upload…
Amerjit
  • 23
  • 4
0
votes
2 answers

TypeError: 'float' object is not callable speedtest python

import speedtest st = speedtest.Speedtest() print('Loading server...') st.get_servers() print('Choosing best server...') server = st.get_best_server() print(f'Found: {server["host"]} located in {server["country"]} ') print('Performing…
n4zgu1
  • 11
  • 1
0
votes
1 answer

Why does Speedtest CLI upload fail for US mobile carriers?

I'm trying to run Speedtest CLI on an embedded Linux device using LTE in the US but the upload fails: Speedtest by Ookla Server: North Central Telephone Coop - Lafayette, TN (id = 4895) ISP: Verizon Wireless Latency: 49.88 ms …
parsley72
  • 8,449
  • 8
  • 65
  • 98
0
votes
0 answers

Can speedtest-cli in python only show maximum download/upload speed?

I want to monitor my current upload/download speed in a python script. The script runs but the problem is that i want the current upload/download speed instead of the maximum. Is there a way to get it to display that instead?
0
votes
1 answer

Best service/SDK to test connection speed from a browser to an AWS EC2 instance

I am working on a project where a user would connect to an AWS Ec2 instance using most probably UDP and I was wondering what the best service would be to test the network performance of an user connecting to the instance from the browser, from a Web…
guidingfox
  • 77
  • 2
  • 12
0
votes
3 answers

Pyinstaller speedtest convert to exe error; no module name "__builtin__"

I am trying to convert a program to an exe using pyinstaller. The program performs a hardware assessment of a user's computer to include running an internet speed test utilizing speedtest-cli. The program runs fine until I compile it at which…
Russ C
  • 5
  • 2