Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Build a Site Connectivity Checker in Python

RP Checker is a site connectivity checker utility. It takes one or more website URLs and checks if those sites are online. It can perform the connectivity checks either synchronously or asynchronously.

Installation

  1. Create a Python virtual environment
$ python -m venv ./venv
$ source venv/bin/activate
(venv) $
  1. Install the requirements
(venv) $ python -m pip install -r requirements.txt

Run the Project

(venv) $ python -m rpchecker -u python.org
The status of "python.org" is: "Online!" 👍

Features

RP Checker provides the following options:

  • -u or --urls takes one or more URLs and checks if they're online.
  • -f or --input-file takes a file containing a list of URLs to check.
  • -a or --asynchronous runs the check asynchronously.

About the Author

Leodanis Pozo Ramos - Email: leodanis@realpython.com

License

Distributed under the MIT license. See LICENSE in the root directory of this materials repo for more information.