Skip to main content

grove.py

Build Status

Python library for Seeedstudio Grove Devices on Raspberry Pi.



Archtecture

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




Installation

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


Online install

install/update all dependencies and latest grove.py

curl -sL https://github.com/Seeed-Studio/grove.py/raw/master/install.sh | sudo bash -s -

Install Dependencies

Install MRAA and UPM for Raspberry Pi

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

or

sudo apt-key adv --keyserver keyserver.ubuntu.com --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

Install grove.py

From PyPI

  • For Python2
sudo pip install grove.py
  • For Python3
sudo pip3 install grove.py

From source code

git clone https://github.com/Seeed-Studio/grove.py
cd grove.py
# Python2
sudo pip install .
# Python3
sudo pip3 install .



Usage

See the link below for details:

demo and execute

Metadata

Release files for grove.py 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grove.py 0.6
File Size Uploaded
grove.py-0.6.tar.gz 40.6 kB Details

Release files / grove.py-0.6.tar.gz

Download URL grove.py-0.6.tar.gz
Size 40.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0bd69ac8d30f2a4bdefa06e10df4dbd87bd018b79a7455643250ef26fb55b4a6
BLAKE2b-256 checksum
How to use checksums
d51c4061c51ccc35471b210e83a76598a1f58198df6c46942917e0f320a9fa81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

Release history Release notifications | RSS feed

This release

0.6 This release

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page