WSL2
ā¢
xterm-256color
ā¢
bash
154 views
š InternetSpeedTest-Py ā a fast, lightweight, and privacy-friendly Python library & CLI for testing your internet speed.
Built by InternetSpeedTest.net, this open-source tool lets you measure ping, download, and upload speeds right from your Python scripts or terminal ā with zero tracking and 100% transparency.
š„ In This Demo
This video demonstrates how to:
-
Install InternetSpeedTest-Py using
pip - Run a quick speed test from the command line
- Use the Python API to integrate speed testing in your own scripts
- Export and analyze results with JSON or CSV
āļø Key Features
- š Fast & accurate download/upload measurements
- š Privacy-focused (no telemetry or tracking)
- š§© Python API + CLI included
- š§° JSON, CSV, and simple text output formats
- š Global test servers with smart auto-selection
š» Quick Usage
# Install from PyPI
pip install internetspeedtest
# Run a simple test
internetspeedtest-py
# Get JSON output
internetspeedtest-py --json
Python API usage
from internetspeedtest import SpeedTest
st = SpeedTest()
results = st.run()
print(f"Ping: {results.ping} ms, Download: {results.download} Mbps, Upload: {results.upload} Mbps")
Learn More
- Website: https://internetspeedtest.net
- GitHub Repo: https://github.com/internetspeedtest-net/internetspeedtest-py
- Docs & Blog: https://internetspeedtest.net/blog