{ "info": { "author": "Luca Nobili", "author_email": "lunobiliAT_MARKyahooDOTit", "bugtrack_url": null, "classifiers": [], "description": "========\r\nrpiSht1x\r\n========\r\nThis module reads Humidity and Temperature from a Sensirion SHT1x sensor. It has been tested\r\nboth with an SHT11 and an SHT15.\r\n\r\nIt is meant to be used in a Raspberry Pi and depends on this module (http://pypi.python.org/pypi/RPi.GPIO/0.4.1a).\r\n\r\nThe module raspberry-gpio-python requires root privileges, therefore, to run this module you need to run your script as root.\r\n\r\nThis a Python/Raspberry Pi port of this library: https://github.com/practicalarduino/SHT1x\r\n\r\nExample Usage::\r\n\r\n from sht1x.Sht1x import Sht1x as SHT1x\r\n dataPin = 11\r\n clkPin = 7\r\n sht1x = SHT1x(dataPin, clkPin, SHT1x.GPIO_BOARD)\r\n \r\n temperature = sht1x.read_temperature_C()\r\n humidity = sht1x.read_humidity()\r\n dewPoint = sht1x.calculate_dew_point(temperature, humidity)\r\n \r\n print(\"Temperature: {} Humidity: {} Dew Point: {}\".format(temperature, humidity, dewPoint)) \r\n\r\nRelease Notes\r\n=============\r\n\r\n* v1.2, 31/12/2012 -- Added the possibility to define the GPIO mode (GPIO_BOARD or GPIO_BCM) in the constructor.\r\n This is to make sure that this library plays nicely with other libraries that might rely on a specific mode.\r\n If no mode is provided, the constructor will default to the GPIO_BOARD mode.\r\n Thanks to Dani\u00ebl van Eeden for suggesting this improvement.\r\n\r\n* v1.1, 26/10/2012 -- Added WaitingSht1x, dew point calculation and using v4 constants.\r\n WaitingSht1x makes sure that no more than a query per second is performed on the sensor. This is\r\n in order to prevent the sensor from heating and skewing the temperature readings. \r\n\r\n* v1.0, 7/10/2012 -- Initial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/lunobili/rpisht1x", "keywords": "Raspberry Pi RaspberryPi SHT15 SHT11 SHT1x Humidity Temperature GPIO", "license": "LICENSE.txt", "maintainer": "", "maintainer_email": "", "name": "rpiSht1x", "package_url": "https://pypi.org/project/rpiSht1x/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rpiSht1x/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/lunobili/rpisht1x" }, "release_url": "https://pypi.org/project/rpiSht1x/1.2/", "requires_dist": null, "requires_python": null, "summary": "Reads Humidity and Temperature from a Sensirion SHT1x sensor.", "version": "1.2" }, "last_serial": 733463, "releases": { "1.2": [ { "comment_text": "", "digests": { "md5": "18aaff93d09badd9150d4e1e3887a99f", "sha256": "a52772105b20900e52ce1b4761aef1c6a2f76c2b83c9bb0e207838641db6677c" }, "downloads": -1, "filename": "rpiSht1x-1.2.tar.gz", "has_sig": false, "md5_digest": "18aaff93d09badd9150d4e1e3887a99f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8648, "upload_time": "2013-01-01T02:21:18", "url": "https://files.pythonhosted.org/packages/6d/80/0d3c426bb135b34789434b0568bb1433d2e0b2070e4d8579f6ca84489087/rpiSht1x-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "18aaff93d09badd9150d4e1e3887a99f", "sha256": "a52772105b20900e52ce1b4761aef1c6a2f76c2b83c9bb0e207838641db6677c" }, "downloads": -1, "filename": "rpiSht1x-1.2.tar.gz", "has_sig": false, "md5_digest": "18aaff93d09badd9150d4e1e3887a99f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8648, "upload_time": "2013-01-01T02:21:18", "url": "https://files.pythonhosted.org/packages/6d/80/0d3c426bb135b34789434b0568bb1433d2e0b2070e4d8579f6ca84489087/rpiSht1x-1.2.tar.gz" } ] }