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.0.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.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file tilt_pi-0.2.0.tar.gz.

File metadata

  • Download URL: tilt_pi-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.0 Darwin/24.5.0

File hashes

Hashes for tilt_pi-0.2.0.tar.gz
Algorithm Hash digest
SHA256 30f4058d67f0c6d03829d12b682c70be67204016cc7440144624cd801e9639ab
MD5 5b71bfb0d35299e55cd3d220b7446eb4
BLAKE2b-256 c9921adcebaba94fc1813307f8f4ef5b6803581795e2a7d34b73a119ba693dfd

See more details on using hashes here.

File details

Details for the file tilt_pi-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tilt_pi-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.0 Darwin/24.5.0

File hashes

Hashes for tilt_pi-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a81a1ddeacc36ef73ba8afe056fbad61e2f1d5f76979369c894e479bce85b78
MD5 4c90cb228cacf9e9ec6f1e111c332125
BLAKE2b-256 0d2018dd19d2f1e76bb5103e35a25312c7afc0b6ed50b940d5ab91909bbf9bc0

See more details on using hashes here.

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