Foufou-exe / Yspeed

Yspeed is a library that scrapes the Speedtest site

Home Page:https://foufou-exe.github.io/Yspeed/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yspeed

Python Version Pypi Build Status Python Python Python

Description ๐ŸŒต

YSpeed is a Python library that scrapes the Speedtest site using Selenium and displays the results with Rich. This library makes it easy to retrieve internet connection speed data (upload, download and latency) in an automated manner and display it elegantly using the Rich library.


Features ๐ŸŽˆ

  • Speedtest.net site scraping with Selenium
  • Retrieve internet connection speed results (upload, download and latency)
  • Display results with Rich for better readability

Installation โš™๏ธ

Make sure you have Python 3.6 or later installed. To install YSpeed, use the following command:

pip install yspeed

or :

Clone the Project

git clone https://github.com/Foufou-exe/Yspeed

Go to the directory

cd Yspeed

Install the dependencies

pip install -r requirements.txt

Run the Yspeed.py script

python yspeed.py

Usage ๐Ÿ–ฅ๏ธ

Example 1

Here is an example of how to use the YSpeed library:

from yspeed import Yspeed

ys = Yspeed()

result = ys.run_speedtest()
ys.display_results(result)
๐ŸŽฌ Example 1

Video



Example 2

Here are the results that will come out when you use .run_speedtest.

from yspeed import Yspeed

ys = Yspeed()
result = ys.get_speedtest()
print(result)
๐Ÿ” Example 1

Video


Dependencies

YSpeed depends on the following libraries:

  • selenium

  • rich

  • holo

Make sure you also have a Selenium-compatible driver installed for your preferred browser (Chrome, Firefox, etc.).

Use CLI

๐ŸŽฌ Yspeed

Video

Contribution

Feel free to contribute to this project by opening issues or submitting pull requests. All contributions are welcome.

License

YSpeed is distributed under the MIT license. See the LICENSE file for more information.

About

Yspeed is a library that scrapes the Speedtest site

https://foufou-exe.github.io/Yspeed/

License:Apache License 2.0


Languages

Language:HTML 79.5%Language:Python 10.7%Language:JavaScript 9.6%Language:Dockerfile 0.2%