Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

An extendable python library to manipulate sensors coupled to the Raspberry Pi

Project Description

LibsensorPy An extendable python library to manipulate sensors coupled to the Raspberry Pi


  1. Configure and enable SPI and I2C ports on raspperry:

$ sudo apt-get install python-smbus $ sudo apt-get install i2c-tools 2.1) For Raspbian users, check /etc/modprobe.d/raspi-blacklist.conf and comment “blacklist i2c-bcm2708” and “blacklist spi-bcm2708” by running

$ sudo nano /etc/modprobe.d/raspi-blacklist.conf and adding a # (if its not there).

# blacklist i2c-bcm2708

# blacklist spi-bcm2708

2.2) For Wheezy or something-other-than-Occidentalis, add the following lines to /etc/modules:

i2c-dev i2c-bcm2708 spi-bcm2708 and then reboot.

  1. Install pigpio:

$ wget $ unzip $ cd PIGPIO $ sudo make $ sudo make install

  1. Install setuptools:

sudo apt-get install python-setuptools

How to download and install LibsensorPy:

  1. Via pip:

sudo pip install libsensorPy

  1. Via wget:

$ wget $ tar -zxvf libsensorPy-0.0.4.tar.gz $ cd libsensorPy-0.0.4/ $ sudo python install

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(23.8 kB) Copy SHA256 Hash SHA256
Source None Apr 1, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate