IP (TCP/UDP) ping tools
Project description
IP ping
A ping(8) like network utility allowing use of TCP and UDP packets to measure round-trip and packet loss statistics.
Implemented in minimal-dependency pure Python 3.6+ using asyncio-protocol.
Installation
Get it from pypi
pip install --upgrade ipping
Usage
UDP
Sends UDP packets to a running UDP echo server.
Echo server must be running on the machine we want to ping.
Using socat(1):
socat PIPE UDP-RECVFROM:5554,fork
Run ping test:
$ ipping udp 192.168.20.2 5554 -i 0.5 -s 8176 -c 4
PING 192.168.20.2:5554: 8176 data bytes
8192 bytes from 192.168.20.2:5554: time=7.476 ms
8192 bytes from 192.168.20.2:5554: time=7.687 ms
8192 bytes from 192.168.20.2:5554: time=13.941 ms
8192 bytes from 192.168.20.2:5554: time=8.448 ms
--- 192.168.20.2:5554 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 7.476/9.388/13.941/3.064 ms
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ipping-0.2.0.tar.gz.
File metadata
- Download URL: ipping-0.2.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21d718c14ebc1d6298857fbb9d7aaa62bba4540b1ba2765a267dac6bed10dd76
|
|
| MD5 |
fad972d45f7473a9c3556b839e649dbd
|
|
| BLAKE2b-256 |
e27930f5e7bb23e47770f20de0c9be46d63e22b0ed18bd902e52530ef7e53d32
|
File details
Details for the file ipping-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ipping-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f6d2134fddf4cc824ffd84ea99d84880515af4accea69ba716b01d1e5622e7b
|
|
| MD5 |
a36f816d42fa2331430a6085573bb97c
|
|
| BLAKE2b-256 |
32acfa03fa0629682c67e16b5cb6adbc067379ed3d219ca6f89be024c2856182
|