Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed internet speed checker #496

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -6,9 +6,14 @@ This GUI App made with Tkinter will display your internet speed(upload and downl

1. Install the Speedtest Package using the following command:

`pip install speedtest`

[Learn More about speedtest library](https://pypi.org/project/speedtest/)
`pip install speedtest -cli`
<br>
or simply do
<br>
`pip install requirments.txt`
<br>
(make sure you have uninstalled previous version of speedtest using pip unistall speedtest)
new documentation: https://pypi.org/project/speedtest-cli/

2. Run the script

Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
from tkinter import *
from speedtest import Speedtest
from speedtest import Speedtest # first do pip unistall speedtest then do pip install

root = Tk()
root.title("Internet Speed Checker")
root.geometry('1920x1080')
root.resizable(True,True)

def get_speed():

speed = Speedtest()
download = speed.download()
upload = speed.upload()
2 changes: 2 additions & 0 deletions scripts/Blackjack/Internet Speed Tester/requirments.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
speedtest-cli
tkinter
10 changes: 8 additions & 2 deletions scripts/Internet Speed Checker/Readme.md
Original file line number Diff line number Diff line change
@@ -7,9 +7,15 @@ This script will check your internet speed and with Download and Upload speed ,

1. Install the Speedtest Package using the following command:

`pip install speedtest`
`pip install speedtest -cli`
<br>
or simply do
<br>
`pip install requirments.txt`
<br>
(make sure you have uninstalled previous version of speedtest using pip unistall speedtest)
new documentation: https://pypi.org/project/speedtest-cli/

Official Documentation: https://pypi.org/project/speedtest/

2. Run the script

2 changes: 1 addition & 1 deletion scripts/Internet Speed Checker/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Internet Speed Checker

import speedtest
import speedtest # first run pip uninstall speedtest then run pip install speedtest-cli
import time
import os

1 change: 1 addition & 0 deletions scripts/Internet Speed Checker/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
speedtest-cli
Loading
Oops, something went wrong.