An example of consuming raspberry-py via PyPI dependency.
- Clone this repository locally to a Raspberry Pi.
- From the local repository directory:
poetry env use 3.11 poetry install
- Build the circuit referenced in
src/raspberry_pi_dependency_example/breathing_led.py
. - Run the script:
poetry run python src/raspberry_pi_dependency_example/breathing_led.py