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.

Files for webavailability, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size webavailability-0.1.1-py3-none-any.whl (8.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size webavailability-0.1.1.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page