A Python client for interacting with the Tilt Pi API
Project description
tilt-pi
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.
Installation
You can install tilt-pi using pip:
pip install tilt-pi
Development
This 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.
Linting and Formatting
This project uses Ruff for linting and formatting. You can run Ruff with:
poetry run ruff check .
poetry run ruff format .
Testing
Tests are written using pytest. You can run tests with:
poetry run pytest
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tilt_pi-0.2.1.tar.gz.
File metadata
- Download URL: tilt_pi-0.2.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c846cc8d876652f90315c2075e7a428191e57bb083141e430be873aea237dcd5
|
|
| MD5 |
7bf73aeb61e794837bf2706603f8ba62
|
|
| BLAKE2b-256 |
582ae7713fec518275ad391c1c58fd72d3470f5367346273ffa3fd0dbd3fcf77
|
Provenance
The following attestation bundles were made for tilt_pi-0.2.1.tar.gz:
Publisher:
publish.yml on michaelheyman/tilt-pi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tilt_pi-0.2.1.tar.gz -
Subject digest:
c846cc8d876652f90315c2075e7a428191e57bb083141e430be873aea237dcd5 - Sigstore transparency entry: 240969547
- Sigstore integration time:
-
Permalink:
michaelheyman/tilt-pi@f4eb22f06e210a51ecb66489789ddef4f97cb5b5 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/michaelheyman
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f4eb22f06e210a51ecb66489789ddef4f97cb5b5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tilt_pi-0.2.1-py3-none-any.whl.
File metadata
- Download URL: tilt_pi-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba7417ef0c42ab5aea5de29ff4f693098d95fafa7efa8e49968ab21bcc85d6d0
|
|
| MD5 |
7fdd31ad24805ad11b10436913ac2c53
|
|
| BLAKE2b-256 |
984fa14623711cb4356784c09aedc5e2623589a7cc149c2891db359cfa12ea58
|
Provenance
The following attestation bundles were made for tilt_pi-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on michaelheyman/tilt-pi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tilt_pi-0.2.1-py3-none-any.whl -
Subject digest:
ba7417ef0c42ab5aea5de29ff4f693098d95fafa7efa8e49968ab21bcc85d6d0 - Sigstore transparency entry: 240969548
- Sigstore integration time:
-
Permalink:
michaelheyman/tilt-pi@f4eb22f06e210a51ecb66489789ddef4f97cb5b5 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/michaelheyman
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f4eb22f06e210a51ecb66489789ddef4f97cb5b5 -
Trigger Event:
release
-
Statement type: