Python library for Seeedstudio Grove devices & Raspberry Pi
Clone or download

Build Status

Python library for Seeedstudio Grove Devices on Raspberry Pi.


To operate grove sensors, the depends many hardware interface libraries such as mraa/smbus2/rpi.gpi/rpi_ws281x.


For beginner or library user only, please install with online method.
For developer, please install dependencies and then install with source code.

Online install

install/update all dependencies and latest

curl -sL | sudo bash -s -

Install Dependencies

Install MRAA and UPM for Raspberry Pi

  • Add repository
echo "deb stretch main" | sudo tee /etc/apt/sources.list.d/seeed.list
  • Add public GPG key
curl | sudo apt-key add -


sudo apt-key adv --keyserver --recv-keys BB8F40F3
  • Install MRAA & UPM
sudo apt update
# Python2
sudo apt install python-mraa python-upm
# Python3
sudo apt install python3-mraa python3-upm

Install library raspberry-gpio-python

sudo apt update
sudo apt install python-rpi.gpio python3-rpi.gpio

Install library rpi_ws281x

sudo pip install rpi_ws281x
sudo pip3 install rpi_ws281x


From PyPI

  • For Python2
sudo pip install
  • For Python3
sudo pip3 install

From source code

git clone
# Python2
sudo pip install .
# Python3
sudo pip3 install .


See the link below for details:

demos and how to run them