Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/josdem/py-vetlog-analyzer

Data analysis for Vetlog database
https://github.com/josdem/py-vetlog-analyzer

black coverage mysql poetry pymox python unittest

Last synced: about 2 months ago
JSON representation

Data analysis for Vetlog database

Awesome Lists containing this project

README

        

Python Vetlog Analyzer

[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)
[![GitHub](https://github.com/josdem/py-vetlog-analyzer/actions/workflows/main.yml/badge.svg)](https://github.com/josdem/py-vetlog-analyzer/actions)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=josdem_py-vetlog-analyzer&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=josdem_py-vetlog-analyzer)

##

Data analysis for [Vetlog](https://vetlog.org/) database

#### Requirements

- Python version `3.12.3` or above

#### To install dependencies

```bash
poetry install
```

#### To format code

```bash
python -m black "py_vetlog_analyzer" "tests"
```

#### To run tests

```bash
python -m unittest discover -s tests
```

or

```bash
python3 -m unittest discover -s tests
```

#### To run with poetry

```bash
poetry run filter
poetry run suspicious
poetry run vaccines
```

**Where:**

- `filter` Filters invalid users from the database
- `suspicious` Filters suspicious users (Maybe invalid users) from the database
- `vaccines` Generates expected vaccination records for pets without pending vaccination plan

#### To run coverage

```bash
coverage run -m unittest discover
coverage report -m
coverage html
```

#### Configuration

https://github.com/josdem/py-vetlog-analyzer/wiki

#### PyPi project

https://pypi.org/project/py-vetlog-analyzer/

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



jgafnea
jgafnea

🚇
T.H(kaminuma)
T.H(kaminuma)

👀

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!