{ "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-lidarlite/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/lidarlite/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_LIDARLite.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_LIDARLite\n :alt: Build Status\n\nA CircuitPython & Python library for Garmin LIDAR Lite sensors over I2C\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_lidarlite\n\n\t# Create library object using our Bus I2C port\n\ti2c = busio.I2C(board.SCL, board.SDA)\n\n\t# Default configuration, with only i2c wires\n\tsensor = adafruit_lidarlite.LIDARLite(i2c)\n\n\twhile True:\n \t try:\n # We print tuples so you can plot with Mu Plotter\n print((sensor.distance,))\n \t except RuntimeError as e:\n # If we get a reading error, just print it and keep truckin'\n print(e)\n \t time.sleep(0.01) # you can remove this for ultra-fast measurements!\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-lidarlite --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_LIDARLite", "keywords": "adafruit lidarlite lidar garmin i2c hardware sensor micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-lidarlite", "package_url": "https://pypi.org/project/adafruit-circuitpython-lidarlite/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-lidarlite/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_LIDARLite" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-lidarlite/1.1.2/", "requires_dist": null, "requires_python": "", "summary": "A CircuitPython & Python library for Garmin LIDAR Lite sensors over I2C.", "version": "1.1.2" }, "last_serial": 5782292, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "f7ce191ba22dc82aa1607705683dfa2c", "sha256": "8a7f470fe8aa82d345f901cb7e37e6a791c905ba6e126ccbe26f495165fe126f" }, "downloads": -1, "filename": "adafruit-circuitpython-lidarlite-1.1.0.tar.gz", "has_sig": false, "md5_digest": "f7ce191ba22dc82aa1607705683dfa2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21026, "upload_time": "2018-10-02T18:45:59", "url": "https://files.pythonhosted.org/packages/89/bb/f8002e62a68fd8d2a9cb4abf21ea0006b664add527cba8e72ef67ee470ad/adafruit-circuitpython-lidarlite-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "22fa413e8de72154c2efb9f1622d8440", "sha256": "20c2e65bd46c4110f7553c7b7787f3500601c5f7f4819646af2173a60d9592b0" }, "downloads": -1, "filename": "adafruit-circuitpython-lidarlite-1.1.1.tar.gz", "has_sig": false, "md5_digest": "22fa413e8de72154c2efb9f1622d8440", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20045, "upload_time": "2019-01-15T03:20:36", "url": "https://files.pythonhosted.org/packages/d4/06/c4da62c7b81640bf6c8af31c9c769003f4bf35f1fdb253faabcbd7464a10/adafruit-circuitpython-lidarlite-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "9792b2a95b5bf8d39212c42dea2f1102", "sha256": "26f7a0d9abede9a2188718eac464479d5f765552cf7ef04695201858ed9a8d3d" }, "downloads": -1, "filename": "adafruit-circuitpython-lidarlite-1.1.2.tar.gz", "has_sig": false, "md5_digest": "9792b2a95b5bf8d39212c42dea2f1102", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20034, "upload_time": "2019-09-04T16:22:42", "url": "https://files.pythonhosted.org/packages/9b/03/5545f3e21bee090c0f5b0e6ca9a5f9a37ddd19cafc322fbe09a1aef5c5d3/adafruit-circuitpython-lidarlite-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9792b2a95b5bf8d39212c42dea2f1102", "sha256": "26f7a0d9abede9a2188718eac464479d5f765552cf7ef04695201858ed9a8d3d" }, "downloads": -1, "filename": "adafruit-circuitpython-lidarlite-1.1.2.tar.gz", "has_sig": false, "md5_digest": "9792b2a95b5bf8d39212c42dea2f1102", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20034, "upload_time": "2019-09-04T16:22:42", "url": "https://files.pythonhosted.org/packages/9b/03/5545f3e21bee090c0f5b0e6ca9a5f9a37ddd19cafc322fbe09a1aef5c5d3/adafruit-circuitpython-lidarlite-1.1.2.tar.gz" } ] }