A python wrapper around the Linux ping command. Developed and tested for python3 on Windows 10 and Ubuntu 17.04 and 12.04.
Use as a Python lib:
>>> import pyping
>>> r = pyping.ping('google.com')
>>> r.destination
'google.com'
>>> r.max_rtt
'69.374'
>>> r.avg_rtt
'68.572'
>>> r.min_rtt
'67.681'
>>> r.destination_ip
'172.217.17.78'
- Add IPv6 support
- Docs