A Python implementation of a command-line internet speed testing tool. This project is designed to provide accurate measurements of your internet connection's performance, including download speed, upload speed, and latency.
- 🚀 Fast and accurate speed testing
- 📊 Multi-threaded testing for better performance
- 🌐 Automatic server selection based on ping and location
- 📈 Detailed performance metrics
- 🔧 Configurable test parameters
- 📝 Multiple output formats (text, JSON)
- Python 3.7 or higher
- pip package manager
git clone https://github.com/cociweb/speedtest-pypy.git
cd speedtest-pypy
pip install -e .
Basic speed test:
speedtest++
Options:
speedtest++ --help # Show help message
speedtest++ --latency # Test latency only
speedtest++ --download # Test download only
speedtest++ --upload # Test upload only
speedtest++ --server SERVER_ID # Use specific server
speedtest++ --threads N # Set number of threads
speedtest++ --json # Output in JSON format
Server: New York City, NY
Latency: 15.23 ms
Download: 100.45 Mbps
Upload: 50.32 Mbps
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python -m pytest speedtest-pypy/tests/
python -m pytest --cov=speedtest-pypy speedtest-pypy/tests/
speedtest-pypy/
├── LICENSE
├── README.md
├── requirements.txt
├── setup.py
├── speedtest-pypy/
│ ├── __init__.py
│ ├── cli.py
│ ├── config.py
│ ├── core.py
│ ├── models.py
│ ├── network.py
│ ├── tests/
│ │ ├── __init__.py
│ │ ├── test_core.py
│ │ ├── test_network.py
│ │ └── test_utils.py
│ └── utils.py
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Original C++ SpeedTest++ project
- Speedtest.net for their testing methodology
- Contributors and maintainers
cociweb
Current version: 1.0.0