{ "info": { "author": "Connor Kneebone", "author_email": "connor@sfxrescue.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# PyMLX90614\nPython library for MLX90614 infrared temperature sensors, using [smbus2](https://pypi.org/project/smbus2/). Compatible with Python 2 and 3.\n\nYou might need to enter this command on your Raspberry Pi:\n\n`sudo su -c 'echo \"Y\" > /sys/module/i2c_bcm2708/parameters/combined'`\n\nConsider putting it in `/etc/rc.local` so it's executed each bootup\n\n## Usage\n\nFirst, ensure the device is available on the i2c bus:\n\n```\n$ sudo i2cdetect -y 1\n 0 1 2 3 4 5 6 7 8 9 a b c d e f\n00: -- -- -- -- -- -- -- -- -- -- -- -- --\n10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\n20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\n30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\n40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\n50: -- -- -- -- -- -- -- -- -- -- 5a -- -- -- -- --\n60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\n70: -- -- -- -- -- -- -- --\n```\n\nWithin Python, the device can be used like this:\n\n```python\nfrom smbus2 import SMBus\nfrom mlx90614 import MLX90614\n\nbus = SMBus(1)\nsensor = MLX90614(bus, address=0x5A)\nprint sensor.get_amb_temp()\nprint sensor.get_obj_temp()\nbus.close()\n```\n\n## License\n\nThis project is licensed under the terms of the MIT license.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Conr86/PyMLX90614", "keywords": "mlx90614 i2c smbus smbus2", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "PyMLX90614", "package_url": "https://pypi.org/project/PyMLX90614/", "platform": "", "project_url": "https://pypi.org/project/PyMLX90614/", "project_urls": { "Homepage": "https://github.com/Conr86/PyMLX90614" }, "release_url": "https://pypi.org/project/PyMLX90614/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "MLX90614 temperature sensor library", "version": "0.0.3" }, "last_serial": 5839285, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0af9e2d4518143a73ed985fd6acb456f", "sha256": "defb150f2618a510b738251e07277d1ab255425758516b7836cb36a9fc9b0b2e" }, "downloads": -1, "filename": "PyMLX90614-0.0.1.tar.gz", "has_sig": false, "md5_digest": "0af9e2d4518143a73ed985fd6acb456f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1569, "upload_time": "2019-09-17T02:25:28", "url": "https://files.pythonhosted.org/packages/74/d8/b7175b2186c2c9350b16c67488b42aa7cf0e11d4f1964a6ee68b7fa3894c/PyMLX90614-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "3a95bbc0634c82a964cfdd15b022647e", "sha256": "b9f5c4924d010f12af9fe157e5710f58c7a052eff9ccf4c1349533ddf3fa196e" }, "downloads": -1, "filename": "PyMLX90614-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3a95bbc0634c82a964cfdd15b022647e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1753, "upload_time": "2019-09-17T02:27:09", "url": "https://files.pythonhosted.org/packages/b8/7b/e7c82412278d3e30c95e4eb3d4efe71a043203a6c00c0ac2c1edf0f787ce/PyMLX90614-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "8e621cb87ff4e829d0c4844693f3ea3a", "sha256": "3f47e7b38909291c135b111d51096ced9e725e7f33367ce39eec93e26d600496" }, "downloads": -1, "filename": "PyMLX90614-0.0.3.tar.gz", "has_sig": false, "md5_digest": "8e621cb87ff4e829d0c4844693f3ea3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2620, "upload_time": "2019-09-17T03:28:01", "url": "https://files.pythonhosted.org/packages/67/8a/443af31ff99cca1e30304dba28a60d3f07d247c8d410822411054e170c9c/PyMLX90614-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8e621cb87ff4e829d0c4844693f3ea3a", "sha256": "3f47e7b38909291c135b111d51096ced9e725e7f33367ce39eec93e26d600496" }, "downloads": -1, "filename": "PyMLX90614-0.0.3.tar.gz", "has_sig": false, "md5_digest": "8e621cb87ff4e829d0c4844693f3ea3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2620, "upload_time": "2019-09-17T03:28:01", "url": "https://files.pythonhosted.org/packages/67/8a/443af31ff99cca1e30304dba28a60d3f07d247c8d410822411054e170c9c/PyMLX90614-0.0.3.tar.gz" } ] }