Skip to main content

Python base class to create infinite loop to work with sensors.

Project description

Generic Python base class to create infinite loop to work with different sensors connected to Raspberry Pi.


  • Install the latest released version using pip:

    pip install
  • Make sure all dependencies (listed below) are installed (done automatically when installing via pip)



Inherit Sensor object.

Main purpose of the sensor object is to run infinite loop for reading from the sensors. Object has build in basic functionality to terminate the infinite loop correctly, basic logging etc.

Intention is to have ability to easily run some code before (or after) reading the sensor, this is is skelleton that doesnt do any logic and should be used only as a base for building the interactions with the sensors.


For more information see the LICENSE file.

Project details

Release history Release notifications

This version


Download files

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

Files for RPi.Sensor, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size RPi.Sensor-0.3.0.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page