{ "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-fxas21002c/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/fxas21002c/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_FXAS21002C.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_FXAS21002C\n :alt: Build Status\n\nCircuitPython module for the NXP FXAS21002C gyroscope.\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\nInstalling from PyPI\n=====================\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI `_. To install for current user:\n\n.. code-block:: shell\n\n pip3 install adafruit-circuitpython-fxas21002c\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-fxas21002c\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n mkdir project-name && cd project-name\n python3 -m venv .env\n source .env/bin/activate\n pip3 install adafruit-circuitpython-fxas21002c\n\nUsage Example\n=============\n\n.. code-block:: python\n\n import time\n import board\n import busio\n import adafruit_fxas21002c\n\n i2c = busio.I2C(board.SCL, board.SDA)\n sensor = adafruit_fxas21002c.FXAS21002C(i2c)\n\n while True:\n gyro_x, gyro_y, gyro_z = sensor.gyroscope\n print('Gyroscope (radians/s): ({0:0.3f}, {1:0.3f}, {2:0.3f})'.format(gyro_x, gyro_y, gyro_z))\n time.sleep(1.0)\n\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\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-fxac21002c --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_FXAS21002C", "keywords": "adafruit fxas21002c gyro gyroscope nxp breakout hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-fxas21002c", "package_url": "https://pypi.org/project/adafruit-circuitpython-fxas21002c/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-fxas21002c/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_FXAS21002C" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-fxas21002c/2.0.1/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for NXP FXAS21002C gyroscope.", "version": "2.0.1" }, "last_serial": 5881261, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "dab755b5073310175c28c1c3018c403e", "sha256": "8b729cdd2abe305e53503b27ff9eedbe9392407d5dd704a33e1808c20cec21cd" }, "downloads": -1, "filename": "adafruit-circuitpython-fxas21002c-1.1.0.tar.gz", "has_sig": false, "md5_digest": "dab755b5073310175c28c1c3018c403e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20537, "upload_time": "2018-08-05T17:00:21", "url": "https://files.pythonhosted.org/packages/7e/a5/b0d806d7dda97ab7b967fb401dfd80603d3e805be590ae657f994e67df3f/adafruit-circuitpython-fxas21002c-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "9489897a7f6229309c857bf7b3ebc80d", "sha256": "7ba37a73c8589fbce46b851eea0bd37420c43f98581a56f574d63f3c00e2c92e" }, "downloads": -1, "filename": "adafruit-circuitpython-fxas21002c-1.2.0.tar.gz", "has_sig": false, "md5_digest": "9489897a7f6229309c857bf7b3ebc80d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20546, "upload_time": "2018-08-19T20:58:33", "url": "https://files.pythonhosted.org/packages/da/96/ae79283c839abc47e3bcd3ce99207b976a21d842abdf23ed60e166e1e8e8/adafruit-circuitpython-fxas21002c-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "8f75d6ac99c2f7f36779e34a4592345c", "sha256": "3f0270011f6e70c14625a936cbfc1bcba7c4b7e8283b7c0e041f72cdc811cd7d" }, "downloads": -1, "filename": "adafruit-circuitpython-fxas21002c-1.2.1.tar.gz", "has_sig": false, "md5_digest": "8f75d6ac99c2f7f36779e34a4592345c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20543, "upload_time": "2018-11-12T20:14:17", "url": "https://files.pythonhosted.org/packages/c7/14/01449c188e04bf92e18158a6b638d05f4c779bc3f688f6810155e753af7a/adafruit-circuitpython-fxas21002c-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "08da1da9fb7d3752c03a90fdf6c0743f", "sha256": "5bad4db1f8e2339b23b25d734d1d5a51f44b30865b7d9bdd261eccaacfa69925" }, "downloads": -1, "filename": "adafruit-circuitpython-fxas21002c-1.2.2.tar.gz", "has_sig": false, "md5_digest": "08da1da9fb7d3752c03a90fdf6c0743f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20406, "upload_time": "2019-01-15T03:17:47", "url": "https://files.pythonhosted.org/packages/8f/c7/be771d679123dbb52243c7d01c14849692810a81cd0eb62a4045d58d3c53/adafruit-circuitpython-fxas21002c-1.2.2.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "a9f4a912819826dc2705753e65f84459", "sha256": "e0b3a9ac0783af159eff6bb06905f914761a840ae8579b565df91e0f6ea6a49d" }, "downloads": -1, "filename": "adafruit-circuitpython-fxas21002c-2.0.0.tar.gz", "has_sig": false, "md5_digest": "a9f4a912819826dc2705753e65f84459", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20400, "upload_time": "2019-08-23T18:25:43", "url": "https://files.pythonhosted.org/packages/91/b5/7dadeec1576b3c52884bd9f8dd6d43611941bfabfae156d165cb81f7d0b4/adafruit-circuitpython-fxas21002c-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "04a0fa5fc07f89017c7623a974de3f6f", "sha256": "1681255698a407874f877a91d0ed2b06b5e07c5c249383ded18c78cb391df41e" }, "downloads": -1, "filename": "adafruit-circuitpython-fxas21002c-2.0.1.tar.gz", "has_sig": false, "md5_digest": "04a0fa5fc07f89017c7623a974de3f6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21018, "upload_time": "2019-09-24T18:23:54", "url": "https://files.pythonhosted.org/packages/11/57/a74e89b14da51a3b5fe7537b89073f3fba5cb26f727e0f759e5d24ec63d7/adafruit-circuitpython-fxas21002c-2.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "04a0fa5fc07f89017c7623a974de3f6f", "sha256": "1681255698a407874f877a91d0ed2b06b5e07c5c249383ded18c78cb391df41e" }, "downloads": -1, "filename": "adafruit-circuitpython-fxas21002c-2.0.1.tar.gz", "has_sig": false, "md5_digest": "04a0fa5fc07f89017c7623a974de3f6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21018, "upload_time": "2019-09-24T18:23:54", "url": "https://files.pythonhosted.org/packages/11/57/a74e89b14da51a3b5fe7537b89073f3fba5cb26f727e0f759e5d24ec63d7/adafruit-circuitpython-fxas21002c-2.0.1.tar.gz" } ] }