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.3.22.tar.gz
(1.3 kB
view hashes)
Built Distribution
Close
Hashes for connection-2019.3.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e4dd1cba998f43f68855207f86df0b287f8a108ffaea58f77dbbdde6b843d72 |
|
MD5 | f1f59533ef6deabccd3e2d73e037fac0 |
|
BLAKE2b-256 | c6c13da9e1e9d4422afa0a4ea2acf1f21f9790f756e43e42de384fcc525bfd78 |