<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Thibaut</title>
    <description>The latest articles on DEV Community by Thibaut (@foufouexe).</description>
    <link>https://dev.to/foufouexe</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1096769%2Fedfac830-7c5e-4ba2-87ff-df77be9f0f28.jpeg</url>
      <title>DEV Community: Thibaut</title>
      <link>https://dev.to/foufouexe</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/foufouexe"/>
    <language>en</language>
    <item>
      <title>Python : Yspeed ⚡⚡</title>
      <dc:creator>Thibaut</dc:creator>
      <pubDate>Tue, 06 Jun 2023 20:59:29 +0000</pubDate>
      <link>https://dev.to/foufouexe/python-yspeed-1555</link>
      <guid>https://dev.to/foufouexe/python-yspeed-1555</guid>
      <description>&lt;h2&gt;
  
  
  A new Yspeed library to replace speedtest !!
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What's this Yspeed library?
&lt;/h3&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;Link github :&lt;/u&gt; &lt;a href="https://github.com/Foufou-exe/Yspeed"&gt;Yspeed&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Why use this library?
&lt;/h3&gt;

&lt;p&gt;There is currently no library maintained on python to provide information such as ping, upload rate, download rate and other ...&lt;/p&gt;

&lt;p&gt;Here's the reality: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FYE2IjjE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1stzltw4a7ndkwk22q3h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FYE2IjjE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1stzltw4a7ndkwk22q3h.png" alt="Image" width="800" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What does it have that the others don't?
&lt;/h3&gt;

&lt;p&gt;Mainly, it recovers the information provided on the speedtest dynamically and easily so it is completed by the information given by &lt;a href="http://ipinfo.io/json"&gt;&lt;strong&gt;ipinfo.io&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  How does Yspeed use it?
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Installation
&lt;/h4&gt;

&lt;p&gt;Make sure you have Python 3.6 or later installed. To install YSpeed, use the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;pip&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="n"&gt;yspeed&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or :&lt;/p&gt;

&lt;p&gt;Clone the Project&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone https://github.com/Foufou-exe/Yspeed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Go to the directory&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd Yspeed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Install the dependencies&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install -r requirements.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run the Yspeed.py script&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;python yspeed.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;h4&gt;
  
  
  Usage
&lt;/h4&gt;

&lt;h5&gt;
  
  
  Example 1
&lt;/h5&gt;

&lt;p&gt;Here is an example of how to use the YSpeed library:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;yspeed&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Yspeed&lt;/span&gt;

&lt;span class="n"&gt;ys&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;Yspeed&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;run_speedtest&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;ys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;display_results&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you would like to see more information about this bookseller, click on the Github link. &lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>devops</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
