check network connection
Project description
Installation
$ [sudo] pip install connection
Functions
function | __doc__ |
---|---|
connection.check(timeout=None) |
return True if connection is ok, else False |
Examples
>>> import connection
>>> connection.check()
True
timeout
>>> connection.check(timeout=2)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
connection-2019.4.13.tar.gz
(1.4 kB
view hashes)