https://github.com/nickylogan/pypinger
A real-time ping plotter in Python
https://github.com/nickylogan/pypinger
hacktoberfest pinger python
Last synced: 10 months ago
JSON representation
A real-time ping plotter in Python
- Host: GitHub
- URL: https://github.com/nickylogan/pypinger
- Owner: nickylogan
- License: mit
- Created: 2020-05-15T17:54:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-05T16:33:20.000Z (over 4 years ago)
- Last Synced: 2023-03-12T05:27:01.852Z (about 3 years ago)
- Topics: hacktoberfest, pinger, python
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyPinger
A simple python command-line tool to graph real-time ping latency. I just made this tool for fun. Feel free to clone the repository for use.
## Usage
```sh
Usage: python main.py [-h] [-H HOST] [-i INTERVAL] [-l LIMIT] [-t TIMEOUT]
Plots a real-time graph of ping latency.
optional arguments:
-h, --help show this help message and exit
-H HOST, --host HOST the host to ping
-i INTERVAL, --interval INTERVAL
the interval (in ms) between consecutive ping calls
-l LIMIT, --limit LIMIT
max number of data points to display
-t TIMEOUT, --timeout TIMEOUT
max ping timeout (in ms)
```
## Requirements
[Python v3+](https://www.python.org/) is required to run the tool, with additional libraries:
- [matplotlib](https://pypi.org/project/matplotlib/)
- [pythonping](https://pypi.org/project/pythonping/)
You can also install all of them using:
```sh
pip install -r requirements.txt
```