SensorZoo
Work in Progress
Simple abstraction for I2C bus devices.
Installation
- Install adafruit-blinka. Since I2C may need to be enabled on your device you may prefer to install blinka separately to ensure its setup success. See CircuitPython Libraries on Linux and Raspberry Pi.
Some devices do not respond to the scan method used in microcontroller/generic_linux. See Issue 365.
For this library to discover devices microcontroller/generic_linux/i2c.py needs to be patched with either patches/i2c-read-or-write.patch (re-implementation of i2cdetect scan algorithm) or i2c-write.patch (replace read_byte with write_quick for all addresses).
pip install sensorzoo --upgrade
Usage
[WIP]
from sensorzoo import SensorZoo
zoo = SensorZoo(board.I2C(), config)
zoo.run()
for m in zoo.tree.meters_iter:
print m.measure
Metadata
Release files for sensorzoo 0.1.0
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 |
|---|---|---|---|---|
| sensorzoo-0.1.0.tar.gz | 15.0 kB | Without provenance | Details for sensorzoo-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sensorzoo-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for sensorzoo-0.1.0-py3-none-any.whl |
Total release size: 36.3 kB
Release files / sensorzoo-0.1.0.tar.gz
| Download URL | sensorzoo-0.1.0.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a08a6c436052bc75744155f00912c80b4f397513459ac042639c22967a5f959
|
|
BLAKE2b-256 checksum How to use checksums |
ab8d8205854b955ca0ae3100176d2547df3186ff77a4b95277b7d9b1df78e17c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.11.2 Linux/6.12.34+rpt-rpi-2712
|
Release files / sensorzoo-0.1.0-py3-none-any.whl
| Download URL | sensorzoo-0.1.0-py3-none-any.whl |
|---|---|
| Size | 21.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b71d435b387c0fc90bccdaa0b18c0d59e659687482092aed70ed614e0c13be90
|
|
BLAKE2b-256 checksum How to use checksums |
972fefa47387428d7ba73d1db8b0a1f266bc1f0db5929c3f954161811b5afd55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.11.2 Linux/6.12.34+rpt-rpi-2712
|
Security for sensorzoo 0.1.0
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.