check network connection
Project description
Install
$ [sudo] pip install connection
Functions
function | description |
---|---|
connection.check(timeout=None) |
return True if connection is ok, else False |
Examples
>>> import connection
>>> connection.check()
True
timeout
>>> connection.check(timeout=2)
readme-md - README.md generator
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-2018.11.19.tar.gz
(1.2 kB
view hashes)
Built Distribution
Close
Hashes for connection-2018.11.19-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9d984df2b6562a72e7645ffb378360905adce6a22a6648a4699757eb138483c |
|
MD5 | 7ddcc3b07ae27bf8e0081a9187b82dcf |
|
BLAKE2b-256 | e162db2c48272e1c185644112167449bca25639bca0e14ddce5c340dbbb5279d |