Metadata-Version: 1.1
Name: Si7021
Version: 0.1.1
Summary: Driver for the Si7021 humidity and temperature sensor
Home-page: https://github.com/herm/Si7021
Author: Hermann Kraus
Author-email: hermann.kraus@gmail.com
License: MIT
Description: Si7021
        ======
        
        Driver for the Si7021 humidity and temperature sensor.
        
        Dependencies
        ------------
        
        * smbus-cffi (or some compatible library)
        
          See https://github.com/bivab/smbus-cffi/blob/master/README.rst for install instructions.
        
        Installation
        ------------
        
        1. pip install from PyPi
        ::
        
          pip install Si7021
        
        2. pip install from git
        ::
        
          pip install git+https://github.com/herm/Si7021
        
        3. Clone the repository and run setup.py
        ::
        
          git clone https://github.com/herm/Si7021
          python setup.py install
        
        Usage
        -----
        
        If you have a sensor connected to I2C bus 1, you may run
        ::
        
          >>> from si7021 import Si7021
          >>> from time import sleep
          >>> from smbus import SMBus
          >>> sensor = Si7021(SMBus(1))
          >>> print("%.1f %%RH, %.1f °C" % sensor.read())
          >>> sensor.heater_mA = 50
          >>> sleep(10)
          >>> print("%.1f %%RH, %.1f °C" % sensor.read())
          >>> sensor.heater_mA = 0
        
        
        Bug Reporting
        -------------
        
        To submit a bugreport use the GitHub bugtracker for the project:
        
          https://github.com/herm/Si7021/issues
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: System :: Hardware
Classifier: Topic :: Software Development :: Embedded Systems
