{ "info": { "author": "Adafruit Industries", "author_email": "circuitpython@adafruit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware" ], "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-mprls/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/mprls/en/latest/\n :alt: Documentation Status\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n :target: https://discord.gg/nBQh6qu\n :alt: Discord\n\n.. image:: https://travis-ci.com/adafruit/Adafruit_CircuitPython_MPRLS.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_MPRLS\n :alt: Build Status\n\nCircuitPython library to support Honeywell MPRLS digital pressure sensors.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Bus Device `_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle `_.\n\nUsage Example\n=============\n\n.. code-block:: python\n\n\timport time\n\timport board\n\timport busio\n\timport adafruit_mprls\n\n\ti2c = busio.I2C(board.SCL, board.SDA)\n\n\t# Simplest use, connect to default over I2C\n\tmpr = adafruit_mprls.MPRLS(i2c, psi_min=0, psi_max=25)\n\n\n\twhile True:\n\t print((mpr.pressure,))\n\t time.sleep(1)\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\n\nBuilding locally\n================\n\nZip release files\n-----------------\n\nTo build this library locally you'll need to install the\n`circuitpython-build-tools `_ package.\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install circuitpython-build-tools\n\nOnce installed, make sure you are in the virtual environment:\n\n.. code-block:: shell\n\n source .env/bin/activate\n\nThen run the build:\n\n.. code-block:: shell\n\n circuitpython-build-bundles --filename_prefix adafruit-circuitpython-mprls --library_location .\n\nSphinx documentation\n-----------------------\n\nSphinx is used to build the documentation based on rST files and comments in the code. First,\ninstall dependencies (feel free to reuse the virtual environment from above):\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install Sphinx sphinx-rtd-theme\n\nNow, once you have the virtual environment activated:\n\n.. code-block:: shell\n\n cd docs\n sphinx-build -E -W -b html . _build/html\n\nThis will output the documentation to ``docs/_build/html``. Open the index.html in your browser to\nview them. It will also (due to -W) error out on any warning like Travis will. This is a good way to\nlocally verify it will pass.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adafruit/Adafruit_CircuitPython_MPRLS", "keywords": "adafruit mprls hardware pressure honeywell micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-mprls", "package_url": "https://pypi.org/project/adafruit-circuitpython-mprls/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-mprls/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_MPRLS" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-mprls/1.1.1/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library to support Honeywell MPRLS digital pressure sensors.", "version": "1.1.1" }, "last_serial": 5918718, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "d29b509674c882c8013b3e3cb2c6ce93", "sha256": "b22e9c4d43f4f84183d303c7b901bdb059d701969892077fad238355c4c3fd1d" }, "downloads": -1, "filename": "adafruit-circuitpython-mprls-1.0.2.tar.gz", "has_sig": false, "md5_digest": "d29b509674c882c8013b3e3cb2c6ce93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19752, "upload_time": "2018-09-26T20:30:50", "url": "https://files.pythonhosted.org/packages/fb/fc/565d5bc48054daf74727556dc966ca7c02c2afdfb3a1c75b0e86a33e4a11/adafruit-circuitpython-mprls-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "9cbd8976ddee13502d83661af9c70f91", "sha256": "a57a76270d550f38407a528163c3329d88b55a760c5cc693419a12e62d8969ec" }, "downloads": -1, "filename": "adafruit-circuitpython-mprls-1.0.3.tar.gz", "has_sig": false, "md5_digest": "9cbd8976ddee13502d83661af9c70f91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18640, "upload_time": "2019-01-15T03:22:34", "url": "https://files.pythonhosted.org/packages/d7/20/9647b6dd7b64f1dbffc1d0d0e39b2b899f68b8c813131c53e1e80ad02825/adafruit-circuitpython-mprls-1.0.3.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "8b32f79530b4692122efb6cb962f08ca", "sha256": "2fa8c70de1a2067ad9b24df3ef39e278a152c72e77ac478d232866877ca0b4c7" }, "downloads": -1, "filename": "adafruit-circuitpython-mprls-1.1.0.tar.gz", "has_sig": false, "md5_digest": "8b32f79530b4692122efb6cb962f08ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18643, "upload_time": "2019-09-16T21:22:09", "url": "https://files.pythonhosted.org/packages/74/28/2f58e70f476232462b4229da32e96f276e0f163972b6bd909b36fd4ced80/adafruit-circuitpython-mprls-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "3087eea9589e5a1bbb107e0e4c62b6d4", "sha256": "f62887c3fc77dd379d2694525a9df80055d6d3a9190c0c00b88f915b1c0062c8" }, "downloads": -1, "filename": "adafruit-circuitpython-mprls-1.1.1.tar.gz", "has_sig": false, "md5_digest": "3087eea9589e5a1bbb107e0e4c62b6d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18648, "upload_time": "2019-10-02T16:07:17", "url": "https://files.pythonhosted.org/packages/25/68/5f6ca7ccc9c055add740c4a7137a69642033d1942eafec1d87df536e5f57/adafruit-circuitpython-mprls-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3087eea9589e5a1bbb107e0e4c62b6d4", "sha256": "f62887c3fc77dd379d2694525a9df80055d6d3a9190c0c00b88f915b1c0062c8" }, "downloads": -1, "filename": "adafruit-circuitpython-mprls-1.1.1.tar.gz", "has_sig": false, "md5_digest": "3087eea9589e5a1bbb107e0e4c62b6d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18648, "upload_time": "2019-10-02T16:07:17", "url": "https://files.pythonhosted.org/packages/25/68/5f6ca7ccc9c055add740c4a7137a69642033d1942eafec1d87df536e5f57/adafruit-circuitpython-mprls-1.1.1.tar.gz" } ] }