Skip to main content

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.

Metadata

Release files for website-checker 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for website-checker 0.3.3
File Size Uploaded
website-checker-0.3.3.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for website-checker 0.3.3
File Interpreter ABI Platform
website_checker-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / website-checker-0.3.3.tar.gz

Download URL website-checker-0.3.3.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a35b030d19638d4066d0164321b1ce30bc1d3072a5f6d5066e606e79b56d54ca
BLAKE2b-256 checksum
How to use checksums
3c82c42fa5b9b1f19d5480cc9ea45e6f199b00143e2aeabdeb6cbd76da1b958e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.0 Linux/5.4.0-1031-azure

Release files / website_checker-0.3.3-py3-none-any.whl

Download URL website_checker-0.3.3-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
535429d337b59aff2c9316c6bd86175a6ea868793e154960dc6a7c7c2344d013
BLAKE2b-256 checksum
How to use checksums
c459f957eb2d623237613d880d846c7c9d50ec34059876039a5ea523a93aeba9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.0 Linux/5.4.0-1031-azure

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.0

2 release files

0.2.0

2 release 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