LibsensorPy An extendable python library to manipulate sensors coupled to the Raspberry Pi
WHAT IS NEEDED BEFORE INSTALL?
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.
Install pigpio:
$ wget abyz.co.uk/rpi/pigpio/pigpio.zip $ unzip pigpio.zip $ cd PIGPIO $ sudo make $ sudo make install
Install setuptools:
sudo apt-get install python-setuptools
How to download and install LibsensorPy:
Via pip:
sudo pip install libsensorPy
Via wget:
$ wget https://pypi.python.org/packages/source/l/libsensorPy/libsensorPy-0.0.4.tar.gz $ tar -zxvf libsensorPy-0.0.4.tar.gz $ cd libsensorPy-0.0.4/ $ sudo python setup.py install
Metadata
Release files for libsensorPy 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| libsensorPy-0.0.9.tar.gz | 23.8 kB | Without provenance | Details for libsensorPy-0.0.9.tar.gz |
Release files / libsensorPy-0.0.9.tar.gz
| Download URL | libsensorPy-0.0.9.tar.gz |
|---|---|
| Size | 23.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44457aadbf18461a276ccad4ceaf013d786ecc931d9b09fa38dc21196868bbdf
|
|
BLAKE2b-256 checksum How to use checksums |
1f397a56aac885fdd9dcd02cae69e94a93e3ec85341930a0a43d8fa4e7e7bb12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for libsensorPy 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.