Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/josdem/py-vetlog-analyzer
- Owner: josdem
- Created: 2024-04-12T23:42:30.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T18:47:24.000Z (3 months ago)
- Last Synced: 2024-10-25T17:08:28.580Z (3 months ago)
- Topics: black, coverage, mysql, poetry, pymox, python, unittest
- Language: Python
- Homepage: https://vetlog.org/
- Size: 93.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!