Skip to main content

Module to check if website is down or not.

Project description

===============
webavailability
===============

'webavailability' is a Python3 module aimed at checking if a website is down
in a detailed and accurate fashion.


Using CLI Tool
--------------

This module ships with a handy CLI tool that allows you to check the web
availability of different domains. For example:

.. code-block:: sh

$ python -m webavailability "google.com"

DOMAIN: google.com
AVAILABILITY: UP
CONNECTION STATUS: RESPONDED

URL: https://www.google.com/?gws_rd=ssl
RESPONSE TIME: 0.338488 seconds
HTTP STATUS CODE: 200
HTTP STATUS MESS: OK
CLOUDFLARE: NONE


The same functionality and information can be accessed by the module.


Running Unit Tests
------------------

To run the available tests, execute the following command from the project's
root directory:

$ python3 -m unittest discover test/ *test.py


License
-------

The code is available under the MIT license.



Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
webavailability-0.1.1-py3-none-any.whl (8.0 kB) Copy SHA256 hash SHA256 Wheel py3
webavailability-0.1.1.tar.gz (6.2 kB) Copy SHA256 hash SHA256 Source None

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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page