Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danielcba/speed_test_logger
This Python script uses the `speedtest` library to measure internet speed and save the results to a CSV file. It's great for monitoring your connection's performance over time.
https://github.com/danielcba/speed_test_logger
csv python3 speedtest-cli
Last synced: 25 days ago
JSON representation
This Python script uses the `speedtest` library to measure internet speed and save the results to a CSV file. It's great for monitoring your connection's performance over time.
- Host: GitHub
- URL: https://github.com/danielcba/speed_test_logger
- Owner: danielcba
- License: mit
- Created: 2024-12-07T20:14:27.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-07T20:24:39.000Z (about 1 month ago)
- Last Synced: 2024-12-07T21:19:21.701Z (about 1 month ago)
- Topics: csv, python3, speedtest-cli
- Language: Python
- Homepage: https://github.com/sivel/speedtest-cli/blob/master/speedtest.py
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-EN.md
- License: LICENSE
Awesome Lists containing this project
README
# Speed Test Logger
This project uses the `speedtest` library to measure Internet speed and save the results in a CSV file. It is ideal for monitoring your connection's performance over time.
## Features
- Performs tests for download speed, upload speed, and latency (ping).
- Automatically selects the server with the best latency.
- Saves results in a structured CSV file.## Requirements
- Python 3.7 or higher
- Required libraries:
- `speedtest`
- `csv` (included with Python)
- `os` (included with Python)To install the `speedtest` library, run:
```bash
pip install speedtest-cli
```## Usage
1. Download or clone this repository.
2. Run the script:```bash
python speed_test_logger.py
```3. The results will be automatically saved in the `speedtest_results.csv` file.
## CSV File Structure
The file contains the following columns:
| Column | Description |
|-------------------|-------------------------------------------------------|
| Server ID | Unique identifier of the server |
| Sponsor | Name of the server's sponsor |
| Server Name | Name of the server |
| Timestamp | Date and time of the test |
| Distance | Distance to the server (in km) |
| Ping | Latency in milliseconds (ms) |
| Download | Download speed (in bits/s) |
| Upload | Upload speed (in bits/s) |
| Share | URL to share the results |
| IP Address | Client's IP address |## Contributions
Contributions are welcome! If you have suggestions or improvements, please open an issue or a pull request.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.