Skip to main content

check network connection

Project description

Installation

$ [sudo] pip install connection

Examples

>>> import connection
>>> connection.check()
True

timeout

>>> connection.check(timeout=2)

readme42.com

Project details


Download files

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

Source Distribution

connection-2020.12.3.tar.gz (1.3 kB view details)

Uploaded Source

File details

Details for the file connection-2020.12.3.tar.gz.

File metadata

  • Download URL: connection-2020.12.3.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for connection-2020.12.3.tar.gz
Algorithm Hash digest
SHA256 f11454c3effa06bc2cab7b7d3e0d78606ffbef909b47c480515e16301a83d883
MD5 bc1c051869f57b2ce67cc449c8e136a4
BLAKE2b-256 d7464e17e55cbdeaa8960cd4f7465d38191577c08e0ca8e1872b19fa0865e2b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page