Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 853 Bytes

readme.md

File metadata and controls

30 lines (22 loc) · 853 Bytes

pyICMP

A ping implementation in python using native CLI clients

codecov | Build Status

Requirements Status | Downloads

Getting started

Install pyICMP

pip3 install pyICMP

Ping a single address

#!/usr/bin/python3

#import pyICMP
import pyICMP

result = pyICMP.ping('1.1.1.1')

if result:
    print("OK")
else:
    print("fail")