Skip to main content

A Python library to check if a website is up or down.

Project description

WebWatchDog

PyPI version

A Python library to check if a website is up or down.

Installation

pip install webwatchdog

Usage

from webwatchdog import up_or_down

url = "https://example.com"
status, message = up_or_down.check_website(url)

if status:
    print("✓", message)
else:
    print("✗", message)

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

webwatchdog-1.0.2.tar.gz (1.6 kB view details)

Uploaded Source

File details

Details for the file webwatchdog-1.0.2.tar.gz.

File metadata

  • Download URL: webwatchdog-1.0.2.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for webwatchdog-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e42951bd08fc6226f8ff26ed60e9fe5a0d471df3b929133798a5d19752448512
MD5 8e3e45c0a9a4d97057fc21a650d812ea
BLAKE2b-256 73164ee6225720796adde8a39eca86cc874d97a1cd3ee95ca4f0e65d14178ae9

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