semvec/pypi-packages huggingface dataset:
pytroll-monitor 0.5.0
Monitoring tools for pytroll production runners
Requires Python: >=3.12

pytroll-monitor
===============

[![Build status](https://github.com/pytroll/pytroll-monitor/workflows/CI/badge.svg?branch=main)](https://github.com/pytroll/pytroll-monitor/workflows/CI/badge.svg?branch=main)
[![Coverage Status](https://coveralls.io/repos/github/pytroll/pytroll-monitor/badge.svg?branch=main)](https://coveralls.io/github/pytroll/pytroll-monitor?branch=main)
[![PyPI version](https://badge.fury.io/py/pytroll-monitor.svg)](https://badge.fury.io/py/pytroll-monitor)

Monitoring tools for pytroll
levo-commons 0.2.30
Common code between Levo CLI and test plans.
Requires Python: >=3.10

# levo-commons
Common code between Levo's CLI and test plans

# Running the checks and tests locally

```bash
# Pre-commit checks
pip install pre-commit
SKIP=pylint,mypy pre-commit run --all-files
pre-commit run mypy --all-files

# Unit tests
pip install tox
tox -e py
```
cpdlog 0.2.0
Record and build reports on Engineering CPD Activities
Requires Python: >=3.10
Keywords: CPD

# CPD Log

This program can be used to record and analyse Continued Professional Development (CPD) Activities. It will create CSV file that lets you add new activities.

CPD Rules are based on the [BPEQ](https://bpeq.qld.gov.au/cpd/) and [Engineers Australia](https://www.engineersaustralia.org.au/sites/default/files/content-files/2016-12/cpd_types_and_conditions_march_2014.pdf) conditions. 

## Install

```sh
pip install cpdlog
```

Or alternatively, if you have uv installed you can run it directly by calling `uvx cpdlog`.

## Add an entry

```sh
cpdlog new --logfile example.csv
```

If the logfile does not exist yet it will create one. It will then prompt you to enter the activity details.

```
Date [2023-01-06]:
Topic: Example Training Course
Hours: 2
A: TertiaryEducation
B: IndustryEducation
C: WorkplaceLearning
D: PrivateStudy
E: Service to Industry
F: Papers
G: IndustryEngagement
H: Other
 (A, B, C, D, E, F, G, H) [B]:
Provider []: Company ABC
Learning outcome: I learnt some things
Added entry to example.csv
```


## Show recent entries

```sh
cpdlog recent --logfile example.csv --num 5
```

This will then show the most recent entries in the file, this can be useful if you want to check what CPD you have already entered. 

```
There are 2 entries in the CPD Log File 'example.csv'
2023-01-07      1.0hrs  Example Webinar
2023-01-06      2.0hrs  Example Training Course
```

## Web GUI

A web GUI is also available to be generated based on the CSV file. 

```python -m cpdlog gui --logfile example.csv```

!["Summary Screenshot"](docs/web-summary.png "Summary Screenshot") !["New Screenshot"](docs/web-new.png "New Screenshot")


## Logfile location

If you don't want to parse the  `--logfile` argument every time, it will assume the CSV is located at `cpdlog.csv` in whatever directory you run the command from.

Alternatively, you can set the path to your logfile as an environment variable `CPD_LOG_FILE`.