speedtest-cli icon indicating copy to clipboard operation
speedtest-cli copied to clipboard

Added additional unit flexibility for download/upload speeds.

Open Windows81 opened this issue 3 years ago • 3 comments

When it comes to measuring internet speeds, I like to have all my units in mebibytes/second, as this is how both OS-level file managers and web browsers would display object sizes and download speeds. Although speedtest-cli allow speeds to be displayed in megabytes/second, having a multiplication factor of 1.048576 makes it inconvenient for when you happen to be comparing similar test results that may have happened to come from outside sources. As with Okla, I've also added other units too!

I should also disclose that this is my first time contributing to open-source software.

Windows81 avatar Jul 28 '21 22:07 Windows81

.

maulanaaghnii avatar Jan 24 '22 14:01 maulanaaghnii

Hello @sivel. I wanted to follow up with this pull request. Please review the changes at your earliest convenience. Thanks in advance for the merge!

Windows81 avatar Jul 06 '22 05:07 Windows81

Hey. Just wanted to follow up once again. The utility already works on Python 3.12, but I replaced datetime.datetime.utcnow() with datetime.datetime.now(datetime.UTC), as per the deprecation warning.

Windows81 avatar Apr 12 '24 22:04 Windows81