semvec/pypi-packages huggingface dataset:
coverage-plot 0.3.2
Library to plot Python code coverage results
License: MIT
Requires Python: >=3.8.1,<4.0.0

# Coverage Plot

[![codecov](https://codecov.io/gh/imankulov/coverage-plot/branch/master/graph/badge.svg)](https://codecov.io/gh/imankulov/coverage-plot)
[![Coverage Status](https://coveralls.io/repos/github/imankulov/coverage-plot/badge.svg)](https://coveralls.io/github/imankulov/coverage-plot)
[![Maintainability](https://api.codeclimate.com/v1/badges/0f758ae06864812dce12/maintainability)](https://codeclimate.com/github/imankulov/coverage-plot/maintainability)
[![Documentation Status](https://readthedocs.org/projects/coverage-plot/badge/?version=latest)](https://coverage-plot.readthedocs.io/en/latest/?badge=latest)

A library and a script to plot Python code coverage results.

## Getting Started

Run the tests for your project with the test coverage, and convert the coverage results to a JSON or XML format. As a result, you should find a coverage.json or coverage.xml file in your current working directory.

```
coverage run -m pytest
coverage xml  # or coverage json
```

Install the package.

```
pip install coverage-plot
```

Run the coverage visualization. The script opens the browser with the visualization results.

```
coverage-plot coverage.xml
```
pylookout 0.2.6
Simple Linux system monitoring tool
License: MIT
Requires Python: >=3.6

## pyLookout

A simple Python program to check Linux system's 
resource utilization and service availability.  

Currently it can:
* Check CPU, RAM and Disk space
* Send notifications via SendGrid and Simplepush

Planned functionality:
* Send notifications via Telegram, WhatsApp and IRC.
* Check container status.
* Report new active SSH sessions.
* Monitor logs to find suspicious activity.
* Run continuously as a service in the background. 

### Installation
To install the app, clone the repository and install with pip:
```bash
git clone https://github.com/Lab-Brat/pyLookout.git
cd pyLookout
python -m pip install .
```

### Usage
To send notifications pyLookout reads API keys from 
the environment.  

SendGrid requires to specify sending and destination 
email addresses, and also an API key:
```
SENDGRID_TO
SENDGRID_FROM
SENDGRID_API_KEY
```  

Simplepush requires only the API key and sends notifications 
to the app"
```
SIMPLEPUSH
```  

To run the program, first install it with pip. 
It will create an executable in `/home/$USER/.local/bin/`, 
(which should be in $PATH), and launch it:
```bash
pylookout
```
It will gather server metrics and send a notificationa 
via preferred method if a certain total utilization percentage
is reached (75% by default).

Add it to crontab to run on a schedule.