Skip to content

haha454/python-async-ping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Async Ping

python-async-ping is a lib that you can use to issue pings to a remote server.

Example usage

from pinglib.ping import Ping

async def my_main():
    ping = Ping('www.google.com')
    async for response in ping.exec(times=4, interval_sec=0.5):
        print(response)

    print(ping)

asyncio.run(my_main()) 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages