{ "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-mlx90393/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/mlx90393/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_MLX90393.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_MLX90393\n :alt: Build Status\n\nAdafruit CircuitPython driver for the MLX90393 3-axis magnetometer.\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--------------------\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-mlx90939\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-mlx90939\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-mlx90939\n\nUsage Example\n=============\n\n.. code-block:: python3\n\n import time\n import busio\n import board\n\n import adafruit_mlx90393\n\n I2C_BUS = busio.I2C(board.SCL, board.SDA)\n SENSOR = adafruit_mlx90393.MLX90393(I2C_BUS, gain=adafruit_mlx90393.GAIN_1X)\n\n while True:\n MX, MY, MZ = SENSOR.magnetic\n print(\"[{}]\".format(time.monotonic()))\n print(\"X: {} uT\".format(MX))\n print(\"Y: {} uT\".format(MY))\n print(\"Z: {} uT\".format(MZ))\n # Display the status field if an error occured, etc.\n if SENSOR.last_status > adafruit_mlx90393.STATUS_OK:\n SENSOR.display_status()\n time.sleep(1.0)\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_mlx90393 --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_MLX90393", "keywords": "adafruit three-axis magnetometer magnet mlx90393 hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-mlx90393", "package_url": "https://pypi.org/project/adafruit-circuitpython-mlx90393/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-mlx90393/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_MLX90393" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-mlx90393/1.3.1/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython driver for the MLX90393 3-axis magnetometer.", "version": "1.3.1" }, "last_serial": 5720528, "releases": { "1.1.2": [ { "comment_text": "", "digests": { "md5": "c9ee716f6ecea25e44d45c48fb866b27", "sha256": "a082f90afbc342d107d32dbc5e12d9c6e262d9b4e4d6532bc7b971b9f428c620" }, "downloads": -1, "filename": "adafruit-circuitpython-mlx90393-1.1.2.tar.gz", "has_sig": false, "md5_digest": "c9ee716f6ecea25e44d45c48fb866b27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21998, "upload_time": "2018-11-12T23:36:24", "url": "https://files.pythonhosted.org/packages/da/da/72e4b05debe8bc65d6735aac935bdea65a853e0a0e0926945ff27643d550/adafruit-circuitpython-mlx90393-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "cd42e9c3d6a434a4881c44517c0ea5ff", "sha256": "62957307c491a1bec8b94ba3c33e58b9036f4bec5c36fefeed34df74d0c2333b" }, "downloads": -1, "filename": "adafruit-circuitpython-mlx90393-1.1.3.tar.gz", "has_sig": false, "md5_digest": "cd42e9c3d6a434a4881c44517c0ea5ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20952, "upload_time": "2019-01-16T02:09:38", "url": "https://files.pythonhosted.org/packages/a6/3c/39fe8e21c1235323d612f6b87bab9881fae79b5d64fe918edfdbae6540a4/adafruit-circuitpython-mlx90393-1.1.3.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "1ff5a4f0f84c17e3103c8e2f13ac1a99", "sha256": "82bb1c620183f425a754820d77996615628ef0b21d60f2f3e1f246e4d8ac05fc" }, "downloads": -1, "filename": "adafruit-circuitpython-mlx90393-1.2.0.tar.gz", "has_sig": false, "md5_digest": "1ff5a4f0f84c17e3103c8e2f13ac1a99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21088, "upload_time": "2019-03-20T22:11:41", "url": "https://files.pythonhosted.org/packages/d5/55/3331070b00940eeb76c4db05a2e64dc45c6bc2effb053b3eb08009af2bae/adafruit-circuitpython-mlx90393-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "79cfe45422d5b4465e7e8c52151ef218", "sha256": "9c1d83c9e9a90e2d7f3d1f12be8bba093faf1a20ccd302ebbf5f46ca387ee1aa" }, "downloads": -1, "filename": "adafruit-circuitpython-mlx90393-1.2.1.tar.gz", "has_sig": false, "md5_digest": "79cfe45422d5b4465e7e8c52151ef218", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21081, "upload_time": "2019-05-10T03:56:20", "url": "https://files.pythonhosted.org/packages/bc/a2/03e13024e9f7a59cb0730426f45ac0e7988b8dfdd8145e80aa048d8ac546/adafruit-circuitpython-mlx90393-1.2.1.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "934742d2035b5ec512567457a7e31089", "sha256": "a107d6b52c72e591748adb495ebcae670f35915f0ad00bb48e038d9e2b93c98d" }, "downloads": -1, "filename": "adafruit-circuitpython-mlx90393-1.3.0.tar.gz", "has_sig": false, "md5_digest": "934742d2035b5ec512567457a7e31089", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21172, "upload_time": "2019-06-18T16:50:48", "url": "https://files.pythonhosted.org/packages/c2/4e/15121be7c2b7e1f14655c6a7abba54005aad7da9f341ecc639e75683c376/adafruit-circuitpython-mlx90393-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "dbd68acdb52bbc031f11d857ebdec0ac", "sha256": "78fcac17c51c8007861afe847d0b0f60e27dc1761e7d17feb33c30ada0e9dd28" }, "downloads": -1, "filename": "adafruit-circuitpython-mlx90393-1.3.1.tar.gz", "has_sig": false, "md5_digest": "dbd68acdb52bbc031f11d857ebdec0ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21210, "upload_time": "2019-08-23T12:24:55", "url": "https://files.pythonhosted.org/packages/14/2d/04d452287c82dfaff688221816f25bec9f4f410c9c0f1c71e52b025962b1/adafruit-circuitpython-mlx90393-1.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dbd68acdb52bbc031f11d857ebdec0ac", "sha256": "78fcac17c51c8007861afe847d0b0f60e27dc1761e7d17feb33c30ada0e9dd28" }, "downloads": -1, "filename": "adafruit-circuitpython-mlx90393-1.3.1.tar.gz", "has_sig": false, "md5_digest": "dbd68acdb52bbc031f11d857ebdec0ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21210, "upload_time": "2019-08-23T12:24:55", "url": "https://files.pythonhosted.org/packages/14/2d/04d452287c82dfaff688221816f25bec9f4f410c9c0f1c71e52b025962b1/adafruit-circuitpython-mlx90393-1.3.1.tar.gz" } ] }