Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Tests Release PyPI pre-commit

website_checker

A simple python application for running checks against websites.

Usage

Install

$ pipx install website-checker
  installed package site-check 0.1.0, Python 3.9.0
  These apps are now globally available
    - check
done!  🌟 # or install into system python with pip
# pip install website-checker

Example

Display help message

$ check --help
Usage: check [OPTIONS] COMMAND [ARGS]...

  A simple python application for running checks against websites.

Options:
  --debug / --no-debug  Toggle debug mode.
  --version             Show the version and exit.
  --help                Show this message and exit.

Commands:
  health   Check website health.
  latency  Check website latency.
  network  Check website network connectivity.

Some examples

$ check network -u https://google.com -u https://blarg.com
{"event": {"check": "network", "input": {"timeout": 5, "url": "https://google.com"}, "output": "pass"}, "logger": "website-checker", "timestamp": "2020-11-30T05:27:23.413281"}
{"event": {"check": "network", "input": {"timeout": 5, "url": "https://blarg.com"}, "output": "fail"}, "logger": "website-checker", "timestamp": "2020-11-30T05:27:23.443994"}

$ check health -u https://google.com
{"event": {"check": "health", "input": {"timeout": 5, "url": "https://google.com"}, "output": "pass"}, "logger": "website-checker", "timestamp": "2020-11-30T05:27:49.413241"}

$ check latency -u https://google.com
{"event": {"check": "latency", "input": {"threshold": 500, "timeout": 5, "url": "https://google.com"}, "output": "pass"}, "logger": "website-checker", "timestamp": "2020-11-30T05:28:14.460530"}

Docker

$ docker run --rm -it aidanmelen/website-checker health --url https://google.com
{"event": {"check": "health", "input": {"timeout": 5, "url": "https://google.com"}, "output": "pass"}, "logger": "website-checker", "timestamp": "2020-11-30T05:00:23.444290"}

License

Check out the LICENSE for more information.

Credits

Check out the CREDITS for more information.

Download files

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

Source Distribution

website-checker-0.3.3a0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

website_checker-0.3.3a0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file website-checker-0.3.3a0.tar.gz.

File metadata

  • Download URL: website-checker-0.3.3a0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.0 Linux/5.4.0-1031-azure

File hashes

Hashes for website-checker-0.3.3a0.tar.gz
Algorithm Hash digest
SHA256 10e7b0e71f1fbb2daf3efa26ad47532b259636a787f998ec1602a993883072c4
MD5 1c57350de7df2a4d7ddb2fbbf7e56d7a
BLAKE2b-256 434ae4d6441baf84a64e491d12b68f25943cec01ac22a68c2d74a6ab00b291b4

See more details on using hashes here.

File details

Details for the file website_checker-0.3.3a0-py3-none-any.whl.

File metadata

  • Download URL: website_checker-0.3.3a0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.0 Linux/5.4.0-1031-azure

File hashes

Hashes for website_checker-0.3.3a0-py3-none-any.whl
Algorithm Hash digest
SHA256 633435cfc1297ac42b3ba2d0509735eb4ec90ef82d8c8faed73d4f30c8fc40e2
MD5 c05f3828a6b4b3aa95fc8aa47939492a
BLAKE2b-256 95fc69d6fa51763f627e9936e8bf0eb9eef4fabd64ebb419c1b3ecd4565c98fa

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.3

2 files

This release

0.3.3a0 This release

2 files

0.3.2

2 files

0.3.0

2 files

0.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page