Metadata-Version: 2.1
Name: site-conn-check
Version: 1.1.0
Summary: Package to check status code and response time of websites
Author-email: Joshua Abbey <Joshuaabbey2022@gmail.com>
License: MIT License
        
        Copyright (c) 2023 Joshua Abbey
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Project-URL: Repository, https://github.com/rxxyxd/site-conn-check.git
Keywords: site-conn-check,status code,response time
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENCE
Requires-Dist: certifi (==2023.5.7)
Requires-Dist: charset-normalizer (==3.1.0)
Requires-Dist: decorator (==5.1.1)
Requires-Dist: idna (==3.4)
Requires-Dist: numpy (==1.24.3)
Requires-Dist: pandas (==2.0.2)
Requires-Dist: python-dateutil (==2.8.2)
Requires-Dist: pytz (==2023.3)
Requires-Dist: requests (==2.31.0)
Requires-Dist: six (==1.16.0)
Requires-Dist: tabulate (==0.9.0)
Requires-Dist: tzdata (==2023.3)
Requires-Dist: validators (==0.20.0)
Requires-Dist: SQLAlchemy (==2.0.15)

![GitHub](https://img.shields.io/github/license/rxxyxd/Site-Conn-Check) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/Rxxyxd/Site-Conn-Check) ![GitHub all releases](https://img.shields.io/github/downloads/rxxyxd/Site-Conn-Check/total)
![PyPI](https://img.shields.io/pypi/v/site-conn-check)
# Site-Conn-Check
A CLI program that requests the header of a website to determine its Status Code and response time and visualizes it in a dataframe.
If you find any issues feel free to drop them in the issues section.

## Set Up

### pip
 - `pip install Site-Conn-Check`
 
### Clone and build

After cloning to build the project just run:
 - `$ py -m build --wheel`
 - `$ pip install <.whl file>`

required packages:
 - Build


## Commands

**NOTE: Upon adding you first site a database file will be created. Running without adding a site will likely result in errors.**

This will happen everytime you delete or lose your database file.

 - `$ site_conn_check add -n <SiteName> -u <URL>` - Adds a new Site to the database.
 - `$ site_conn_check remove -n <SiteName>` - Removes a Site from the database.
 - `$ site_conn_check update -n <SiteName>` - Updates a Site.
 - `$ site_conn_check -s` - Lists all Sites in the database.
 - `$ site_conn_check -d` - Deletes database file.
 - `$ site_conn_check --run` - Executes status and response time collection and displays it in a styled table.
