A Python client for interacting with the Tilt Pi API.
This library provides a Python interface to the Tilt Pi, allowing you to retrieve data from Tilt Hydrometers connected to it.
The Tilt Pi is a Raspberry Pi-based device that can read data from Tilt Hydrometers and broadcast it over the network. The Tilt Pi can be used to monitor the fermentation of beer, wine, cider, and other beverages.
The benefit of the Tilt Pi is that it can be placed in a location with better reception than the Tilt Hydrometer itself, allowing for more reliable data collection.
You can install tilt-pi using pip:
pip install tilt-piThis project uses Poetry for dependency management and packaging.
To set up for development:
- Clone the repository.
- Install Poetry if you haven't already.
- Run
poetry install --with devto install dependencies, including development tools.
This project uses Ruff for linting and formatting. You can run Ruff with:
poetry run ruff check .
poetry run ruff format .Tests are written using pytest. You can run tests with:
poetry run pytestContributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.