{ "info": { "author": "Blue Robotics", "author_email": "support@bluerobotics.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "#tsys01-python\n\nA python module to interface with the TSYS01 temperature sensor. Tested on Raspberry Pi 3 with Raspbian.\n\nThe python SMBus library must be installed.\n\n\tsudo apt-get install python-smbus\n\n#Usage\n\n\timport tsys01\n\n###TSYS01(bus=1)\n\n\tsensor = tsys01.TSYS01() # Use default I2C bus 1\n\tsensor = tsys01.TSYS01(0) # Specify I2C bus 0\n\n###init()\n\nInitialize the sensor. This needs to be called before using any other methods.\n\n sensor.init()\n\nReturns true if the sensor was successfully initialized, false otherwise.\n\n###read()\n\nRead the sensor and update the temperature.\n\n sensor.read()\n \nReturns True if read was successful, False otherwise.\n\n###temperature(conversion=UNITS_Centigrade)\n\nGet the most recent temperature measurement.\n\n\tsensor.temperature() # Get temperature in default units (Centigrade)\n\tsensor.temperature(ms5837.UNITS_Farenheit) # Get temperature in Farenheit\n\nValid arguments are:\n\n\ttsys01.UNITS_Centigrade\n\ttsys01.UNITS_Farenheit\n\ttsys01.UNITS_Kelvin\n\nReturns the most recent temperature in the requested units, or temperature in degrees Centigrade if invalid units specified. Call read() to update.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.bluerobotics.com", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "bluerobotics-tsys01", "package_url": "https://pypi.org/project/bluerobotics-tsys01/", "platform": "", "project_url": "https://pypi.org/project/bluerobotics-tsys01/", "project_urls": { "Homepage": "https://www.bluerobotics.com" }, "release_url": "https://pypi.org/project/bluerobotics-tsys01/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "A python module for the TSYS01 digital temperature sensor", "version": "0.0.1" }, "last_serial": 4586400, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "319eecf08e5bfb5643250220d15f4da3", "sha256": "9a7a12d972b465eabcae92be3ddaf4ec274d0c34eb3250334279cd045e449a3f" }, "downloads": -1, "filename": "bluerobotics_tsys01-0.0.1-py2.7.egg", "has_sig": false, "md5_digest": "319eecf08e5bfb5643250220d15f4da3", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4434, "upload_time": "2018-12-11T17:29:53", "url": "https://files.pythonhosted.org/packages/7d/25/424ab47d60a31cc3dd79b6d3ecb113e5357fc90a8f7a0b5e5d8e4a4c2785/bluerobotics_tsys01-0.0.1-py2.7.egg" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "319eecf08e5bfb5643250220d15f4da3", "sha256": "9a7a12d972b465eabcae92be3ddaf4ec274d0c34eb3250334279cd045e449a3f" }, "downloads": -1, "filename": "bluerobotics_tsys01-0.0.1-py2.7.egg", "has_sig": false, "md5_digest": "319eecf08e5bfb5643250220d15f4da3", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4434, "upload_time": "2018-12-11T17:29:53", "url": "https://files.pythonhosted.org/packages/7d/25/424ab47d60a31cc3dd79b6d3ecb113e5357fc90a8f7a0b5e5d8e4a4c2785/bluerobotics_tsys01-0.0.1-py2.7.egg" } ] }