{ "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-max31856/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/max31856/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_MAX31856.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_MAX31856\n :alt: Build Status\n\nA CircuitPython driver for the MAX31856 Universal Thermocouple Amplifier\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 board\n import busio\n import digitalio\n import adafruit_max31856\n\n # create a spi object\n spi = busio.SPI(board.SCK, board.MOSI, board.MISO)\n\n # allocate a CS pin and set the direction\n cs = digitalio.DigitalInOut(board.D5)\n cs.direction = digitalio.Direction.OUTPUT\n\n # create a thermocouple object with the above\n thermocouple = adafruit_max31856.MAX31856(spi, cs)\n\n # print the temperature!\n print(thermocouple.temperature)\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\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-max31856 --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_MAX31856", "keywords": "adafruit max31856 universal thermocouple amplifierhardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-max31856", "package_url": "https://pypi.org/project/adafruit-circuitpython-max31856/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-max31856/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_MAX31856" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-max31856/0.8.3/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for the MAX31856 Universal Thermocouple Amplifier.", "version": "0.8.3" }, "last_serial": 5448722, "releases": { "0.8.1": [ { "comment_text": "", "digests": { "md5": "7ebeff434a4fe4b4f1eaaeaff0a276b9", "sha256": "a491b10d8f6537c4ed9c6bc47e54002645d7405b600c1cef6e0a1881cdc75048" }, "downloads": -1, "filename": "adafruit-circuitpython-max31856-0.8.1.tar.gz", "has_sig": false, "md5_digest": "7ebeff434a4fe4b4f1eaaeaff0a276b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21736, "upload_time": "2018-10-18T23:41:46", "url": "https://files.pythonhosted.org/packages/7c/db/9a55c13d8a2d730ac7d14765efe0e8889e93bb199918f8c0b8e0b6d3d237/adafruit-circuitpython-max31856-0.8.1.tar.gz" } ], "0.8.2": [ { "comment_text": "", "digests": { "md5": "4838825296307d0f0a1a6871af8c819a", "sha256": "843d6d8d55d9d9800344209e709959f7325b3689eef5ff36cc7dee52dca3ab31" }, "downloads": -1, "filename": "adafruit-circuitpython-max31856-0.8.2.tar.gz", "has_sig": false, "md5_digest": "4838825296307d0f0a1a6871af8c819a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21077, "upload_time": "2019-01-11T00:33:45", "url": "https://files.pythonhosted.org/packages/0e/0d/62311c2dbedc99770bf3c5f195b634bc73b269235f988abfe0485874c3f7/adafruit-circuitpython-max31856-0.8.2.tar.gz" } ], "0.8.3": [ { "comment_text": "", "digests": { "md5": "16f6e89a032f563b30780e1932e40b30", "sha256": "cc0cecb83310f8abccc6fb49d8e4389f4ea969e5c64d8a2e43222eef55f64e09" }, "downloads": -1, "filename": "adafruit-circuitpython-max31856-0.8.3.tar.gz", "has_sig": false, "md5_digest": "16f6e89a032f563b30780e1932e40b30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21092, "upload_time": "2019-06-25T21:57:13", "url": "https://files.pythonhosted.org/packages/8a/29/e6cab4d46e49290ce85514cba4821612721be8ae2bec970dc6959af4ea2b/adafruit-circuitpython-max31856-0.8.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "16f6e89a032f563b30780e1932e40b30", "sha256": "cc0cecb83310f8abccc6fb49d8e4389f4ea969e5c64d8a2e43222eef55f64e09" }, "downloads": -1, "filename": "adafruit-circuitpython-max31856-0.8.3.tar.gz", "has_sig": false, "md5_digest": "16f6e89a032f563b30780e1932e40b30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21092, "upload_time": "2019-06-25T21:57:13", "url": "https://files.pythonhosted.org/packages/8a/29/e6cab4d46e49290ce85514cba4821612721be8ae2bec970dc6959af4ea2b/adafruit-circuitpython-max31856-0.8.3.tar.gz" } ] }