{ "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-adxl34x/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/adxl34x/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_ADXL34x.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_ADXL34x\n :alt: Build Status\n\nA CircuitPython driver for the ADXL34x family of accelerometers\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\n import time\n import board\n import busio\n import adafruit_adxl34x\n i2c = busio.I2C(board.SCL, board.SDA)\n accelerometer = adafruit_adxl34x.ADXL345(i2c)\n while True:\n print(\"%f %f %f\"%accelerometer.acceleration)\n 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-adxl34x --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_ADXL34x", "keywords": "adafruit hardware accelerometer acceleration spi i2c triple axismicropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-adxl34x", "package_url": "https://pypi.org/project/adafruit-circuitpython-adxl34x/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-adxl34x/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_ADXL34x" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-adxl34x/1.10.3/", "requires_dist": null, "requires_python": "", "summary": "A CircuitPython driver for the ADXL34x family of accelerometers.", "version": "1.10.3" }, "last_serial": 5838452, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "6dcd890ba4f965aa51c3dce06ad82797", "sha256": "073396244c218dd1297bc4ff6311a6df4d551cf44c3b3581c1ebcf077080a4f3" }, "downloads": -1, "filename": "adafruit-circuitpython-adxl34x-1.0.0.tar.gz", "has_sig": false, "md5_digest": "6dcd890ba4f965aa51c3dce06ad82797", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20985, "upload_time": "2018-10-25T17:29:30", "url": "https://files.pythonhosted.org/packages/d0/c3/762200ee8d89ae660d76f1c2de526bf00e9a48248494b1bc47e1b1f01d6d/adafruit-circuitpython-adxl34x-1.0.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "e1450ae1fd84313f57e85c6b409eba74", "sha256": "50d740befc488671203c8967e1fb156b92044a7e0e76c907eac93a1b21c9e803" }, "downloads": -1, "filename": "adafruit-circuitpython-adxl34x-1.1.1.tar.gz", "has_sig": false, "md5_digest": "e1450ae1fd84313f57e85c6b409eba74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23028, "upload_time": "2019-01-14T22:19:27", "url": "https://files.pythonhosted.org/packages/e2/04/c8831d8ea66a5a23fffeec209c01b8b475022276ef1eb85a97c7003385ce/adafruit-circuitpython-adxl34x-1.1.1.tar.gz" } ], "1.10": [ { "comment_text": "", "digests": { "md5": "7a2e9cea9c5802123510ec26a2203dab", "sha256": "54e08ae1daaade88128d9d2898ffd01462c3d790e14dbe3446453579b8f16fc2" }, "downloads": -1, "filename": "adafruit-circuitpython-adxl34x-1.10.tar.gz", "has_sig": false, "md5_digest": "7a2e9cea9c5802123510ec26a2203dab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23028, "upload_time": "2018-12-23T20:46:21", "url": "https://files.pythonhosted.org/packages/3c/5e/9850f5e221e2f9ad077645cef4ad6525730a3a157d6eb8337157755a9677/adafruit-circuitpython-adxl34x-1.10.tar.gz" } ], "1.10.1": [ { "comment_text": "", "digests": { "md5": "650382b10488f516c70a88ddfbd1aa83", "sha256": "7958ea44901848f5ff3a65fd3fe8130e8b41d86bf474d23b3667afaf1751ef3c" }, "downloads": -1, "filename": "adafruit-circuitpython-adxl34x-1.10.1.tar.gz", "has_sig": false, "md5_digest": "650382b10488f516c70a88ddfbd1aa83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23033, "upload_time": "2019-01-14T23:18:54", "url": "https://files.pythonhosted.org/packages/de/d3/d909e514bf994485e7756f49520a8ec1de7b5fbecafc314dd698a1a43759/adafruit-circuitpython-adxl34x-1.10.1.tar.gz" } ], "1.10.2": [ { "comment_text": "", "digests": { "md5": "cbdda3cacaa1b8047e0e7a9886dfaf13", "sha256": "4b10ed5534441e373029ba018254adb15a00ce6201f6870a1b89a90427c26b0f" }, "downloads": -1, "filename": "adafruit-circuitpython-adxl34x-1.10.2.tar.gz", "has_sig": false, "md5_digest": "cbdda3cacaa1b8047e0e7a9886dfaf13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23067, "upload_time": "2019-05-06T21:12:13", "url": "https://files.pythonhosted.org/packages/4c/96/29a455323cbee487b614d5033f39da928bd0b8b09491b77048ed9e9a235f/adafruit-circuitpython-adxl34x-1.10.2.tar.gz" } ], "1.10.3": [ { "comment_text": "", "digests": { "md5": "bccabddcdef2192a7b8290f946f2e7e5", "sha256": "55afd2dd9b1ea453cd758dd0527a2c6932a53b95e24c3205aa86940be8234120" }, "downloads": -1, "filename": "adafruit-circuitpython-adxl34x-1.10.3.tar.gz", "has_sig": false, "md5_digest": "bccabddcdef2192a7b8290f946f2e7e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23038, "upload_time": "2019-09-16T22:18:58", "url": "https://files.pythonhosted.org/packages/6b/fb/99caa6b57ea8455c06fae7fa6608025254ab01a00abdc1dcdee5f2d0d34e/adafruit-circuitpython-adxl34x-1.10.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bccabddcdef2192a7b8290f946f2e7e5", "sha256": "55afd2dd9b1ea453cd758dd0527a2c6932a53b95e24c3205aa86940be8234120" }, "downloads": -1, "filename": "adafruit-circuitpython-adxl34x-1.10.3.tar.gz", "has_sig": false, "md5_digest": "bccabddcdef2192a7b8290f946f2e7e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23038, "upload_time": "2019-09-16T22:18:58", "url": "https://files.pythonhosted.org/packages/6b/fb/99caa6b57ea8455c06fae7fa6608025254ab01a00abdc1dcdee5f2d0d34e/adafruit-circuitpython-adxl34x-1.10.3.tar.gz" } ] }