Skip to main content

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)

python-readme-generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for connection, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size connection-2019.4.13.tar.gz (1.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page