Skip to content

pimoroni/boilerplate-python

Repository files navigation

TITLE

Build Status Coverage Status PyPi Package Python Versions

Generated from the Pimoroni Python Boilerplate.

Pre-requisites

You must enable (delete where appropriate):

  • i2c: sudo raspi-config nonint do_i2c 0
  • spi: sudo raspi-config nonint do_spi 0

You can optionally run sudo raspi-config or the graphical Raspberry Pi Configuration UI to enable interfaces.

Installing

Stable library from PyPi:

  • Just run pip3 install PROJECT_NAME

In some cases you may need to use sudo or install pip with: sudo apt install python3-pip

Latest/development library from GitHub:

  • git clone https://github.com/pimoroni/PROJECT_NAME-python
  • cd PROJECT_NAME-python
  • ./install.sh --unstable

About

Boilerplate and common files/structure for a Pimoroni Python library.

Resources

License

Stars

Watchers

Forks