Metadata-Version: 2.3
Name: sensorzoo
Version: 0.1.0
Summary: Simple utilities for generically using GPIO/I2C RPI sensors.
License: MIT
Author: Matthew Yacobucci
Author-email: <yacobucci@gmail.com>
Requires-Python: >= 3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Provides-Extra: dev
Provides-Extra: test
Requires-Dist: adafruit-blinka (>=8.50.0,<9.0.0)
Requires-Dist: adafruit-circuitpython-bmp3xx (>=1.3.21,<2.0.0)
Requires-Dist: adafruit-circuitpython-busdevice (>=5.2.10,<6.0.0)
Requires-Dist: adafruit-circuitpython-connectionmanager (>=3.1.2,<4.0.0)
Requires-Dist: adafruit-circuitpython-register (>=1.10.1,<2.0.0)
Requires-Dist: adafruit-circuitpython-requests (>=4.1.8,<5.0.0)
Requires-Dist: adafruit-circuitpython-scd4x (>=1.4.5,<2.0.0)
Requires-Dist: adafruit-circuitpython-sht4x (>=1.0.21,<2.0.0)
Requires-Dist: adafruit-circuitpython-tca9548a (>=0.7.4,<1.0.0)
Requires-Dist: adafruit-circuitpython-tsl2591 (>=1.3.13,<2.0.0)
Requires-Dist: adafruit-circuitpython-typing (>=1.11.2,<2.0.0)
Requires-Dist: adafruit-circuitpython-veml7700 (>=2.0.2,<3.0.0)
Requires-Dist: adafruit-platformdetect (>=3.75.0,<4.0.0)
Requires-Dist: adafruit-pureio (>=1.1.11,<2.0.0)
Requires-Dist: apscheduler (>=3.11.0,<4.0.0)
Requires-Dist: binho-host-adapter (>=0.1.6,<1.0.0)
Requires-Dist: build (>=1.2.2.post1,<2.0.0) ; extra == "dev"
Requires-Dist: isodate (>=0.7.2,<1.0.0)
Requires-Dist: littletable (>=3.0.1,<4.0.0)
Requires-Dist: pyftdi (>=0.56.0,<1.0.0)
Requires-Dist: pyserial (>=3.5,<4.0)
Requires-Dist: pytest (>=8.3.4,<9.0.0) ; extra == "test"
Requires-Dist: pyusb (>=1.2.1,<2.0.0)
Requires-Dist: pyyaml (>=6.0.2,<7.0.0)
Requires-Dist: rpi-lgpio (>=0.6,<0.7)
Requires-Dist: rpi-ws281x (>=5.0.0,<6.0.0)
Requires-Dist: six (>=1.17.0,<2.0.0)
Requires-Dist: sysv-ipc (>=1.1.0,<2.0.0)
Requires-Dist: typing-extensions (>=4.12.2,<5.0.0)
Requires-Dist: tzlocal (>=5.2,<6.0)
Description-Content-Type: text/markdown

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](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi).

Some devices do not respond to the scan method used in microcontroller/generic_linux. See [Issue 365](https://github.com/adafruit/Adafruit_Blinka/issues/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
```

