{ "info": { "author": "Toni Kangas", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# pi_si7021\n[![Build Status](https://travis-ci.org/kangasta/pi_si7021.svg?branch=master)](https://travis-ci.org/kangasta/pi_si7021)\n\nLibrary for playing around with si7021 relative humidity and temperature sensor with Raspberry Pi. Based on [pigpio example](http://abyz.me.uk/rpi/pigpio/examples.html#Python_Si7021_py).\n\n## Usage\n\n```python\n\nfrom pi_si7021 import Si7021\n\nRHTEMP = Si7021()\n\nprint(\"Temperature: \" + str(round(RHTEMP.temperature, 2)) + u\" \\u00B0C\")\nprint(\"Relative humidity: \" + str(round(RHTEMP.relative_humidity, 2)) + \" %\")\n\nRHTEMP.close()\n\n```\n\n## Testing\n\nRun unit tests with commands:\n\n```bash\ncd pi_si7021\n\npython3 -m unittest discover -s tst/\n```\n\nGet test coverage with commands:\n```bash\ncd pi_si7021\n\ncoverage run -m unittest discover -s tst/\ncoverage report -m\n```", "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/kangasta/pi_si7021", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pi-si7021", "package_url": "https://pypi.org/project/pi-si7021/", "platform": "", "project_url": "https://pypi.org/project/pi-si7021/", "project_urls": { "Homepage": "https://github.com/kangasta/pi_si7021" }, "release_url": "https://pypi.org/project/pi-si7021/0.5.4/", "requires_dist": null, "requires_python": "", "summary": "Library to read si7021 sensor.", "version": "0.5.4" }, "last_serial": 4016716, "releases": { "0.5.2": [ { "comment_text": "", "digests": { "md5": "2d6bc7a2a192c6663d4ce8ff6af7f451", "sha256": "307623f53f13237f54d610118577325b6bd47f52a27af5d35d9a5f2cb1c56aa4" }, "downloads": -1, "filename": "pi_si7021-0.5.2.tar.gz", "has_sig": false, "md5_digest": "2d6bc7a2a192c6663d4ce8ff6af7f451", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2017, "upload_time": "2018-06-29T18:59:03", "url": "https://files.pythonhosted.org/packages/59/8d/b5f10cb047d4f5d74bd51f191cea2ab14d207829882885ecda8c8f4c7c9f/pi_si7021-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "7d15c54144e05ea3a471afa855a9e581", "sha256": "4340d56db2b635e73c08333868d94849d493ffb0fcbc92095994aeb6dae23491" }, "downloads": -1, "filename": "pi_si7021-0.5.3.tar.gz", "has_sig": false, "md5_digest": "7d15c54144e05ea3a471afa855a9e581", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2061, "upload_time": "2018-06-29T19:17:58", "url": "https://files.pythonhosted.org/packages/0f/6e/1c10fca8aa18d64dfbfc088bd97eaf2106a50fbca487068b74b34557f4b0/pi_si7021-0.5.3.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "6f8f130505c66a8cf66052f51e9ee854", "sha256": "79cea0187cf2b85f6bed0bdf998dc59850529d739efe26d5babf2a5372f7cd2c" }, "downloads": -1, "filename": "pi_si7021-0.5.4.tar.gz", "has_sig": false, "md5_digest": "6f8f130505c66a8cf66052f51e9ee854", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2103, "upload_time": "2018-06-29T21:30:20", "url": "https://files.pythonhosted.org/packages/39/b7/5339bd5dc9f22767617e2e6718e29216d2da5805a9b0517c6ae8b535a836/pi_si7021-0.5.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6f8f130505c66a8cf66052f51e9ee854", "sha256": "79cea0187cf2b85f6bed0bdf998dc59850529d739efe26d5babf2a5372f7cd2c" }, "downloads": -1, "filename": "pi_si7021-0.5.4.tar.gz", "has_sig": false, "md5_digest": "6f8f130505c66a8cf66052f51e9ee854", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2103, "upload_time": "2018-06-29T21:30:20", "url": "https://files.pythonhosted.org/packages/39/b7/5339bd5dc9f22767617e2e6718e29216d2da5805a9b0517c6ae8b535a836/pi_si7021-0.5.4.tar.gz" } ] }