Metadata-Version: 2.3
Name: coffee-grinds
Version: 0.0.1
Summary: Code to run a coffee grinder with a QT Py ESP32
Author: Tsmorz
Author-email: tonysmoragiewicz@gmail.com
Requires-Python: >=3.11,<3.13
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: loguru (>=0.7.3,<0.8.0)
Requires-Dist: numpy (>=2.2.3,<3.0.0)
Project-URL: homepage, https://github.com/Tsmorz/coffee-grinder
Description-Content-Type: text/markdown

# template-python
[![Coverage Status](https://coveralls.io/repos/github/TUM-Aries-Lab/template-python/badge.svg?branch=main)](https://coveralls.io/github/TUM-Aries-Lab/template-python?branch=main)
![Docker Image CI](https://github.com/TUM-Aries-Lab/template-python/actions/workflows/ci.yml/badge.svg)

Simple README.md for a Python project template.

Do ***NOT*** clone this repository. Please use it as a template instead. This readme is just here to serve as a template for you to get started faster.

## Install
To install the library run:

```bash
pip install <your-package-name>
```

OR

```bash
pip install git+https://github.com/TUM-Aries-Lab/<your-package-name>.git@<specific-tag>
```

## Development
0. Install [Poetry](https://python-poetry.org/docs/#installing-with-the-official-installer)
1. Install [pyenv](https://github.com/pyenv/pyenv?tab=readme-ov-file#installation)
2. ```pyenv install <desired-python-version>  # install the required python version```
3. ```pyenv global <desired-python-version>  # set the required python version```
4. ```git clone git@github.com:TUM-Aries-Lab/template-python.git```
5. `make init` to create the virtual environment and install dependencies
6. `make format` to format the code and check for errors
7. `make test` to run the test suite
8. `make clean` to delete the temporary files and directories

## Publishing
It's super easy to publish your own packages on PyPI. To build and publish this package run:

```bash
poetry build
poetry publish  # make sure your version in pyproject.toml is updated
```
The package can then be found at: https://pypi.org/project/change-me

## Module Usage
```python
"""Basic docstring for my module."""

from loguru import logger

from coffee_grinder import definitions

def main() -> None:
    """Run a simple demonstration."""
    logger.info("Hello World!")

if __name__ == "__main__":
    main()
```

## Program Usage
```bash
poetry run python -m coffee_grinder
```

