Skip to main content

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:

  1. Clone the repository.
  2. Install Poetry if you haven't already.
  3. Run poetry install --with dev to 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tilt_pi-0.2.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tilt_pi-0.2.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for tilt_pi-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c846cc8d876652f90315c2075e7a428191e57bb083141e430be873aea237dcd5
MD5 7bf73aeb61e794837bf2706603f8ba62
BLAKE2b-256 582ae7713fec518275ad391c1c58fd72d3470f5367346273ffa3fd0dbd3fcf77

See more details on using hashes here.

Provenance

The following attestation bundles were made for tilt_pi-0.2.1.tar.gz:

Publisher: publish.yml on michaelheyman/tilt-pi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for tilt_pi-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba7417ef0c42ab5aea5de29ff4f693098d95fafa7efa8e49968ab21bcc85d6d0
MD5 7fdd31ad24805ad11b10436913ac2c53
BLAKE2b-256 984fa14623711cb4356784c09aedc5e2623589a7cc149c2891db359cfa12ea58

See more details on using hashes here.

Provenance

The following attestation bundles were made for tilt_pi-0.2.1-py3-none-any.whl:

Publisher: publish.yml on michaelheyman/tilt-pi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page