{ "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": "\ufeffIntroduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-max31855/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/max31855/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_MAX31855.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_MAX31855\n :alt: Build Status\n\nCircuitPython driver for the `MAX31855 Thermocouple Amplifier Breakout `_\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\nOf course, you must import the library to use it:\n\n.. code:: python\n\n import adafruit_max31855\n\nYou also need to create an SPI interface object, and a pin object for the\nchip select pin. You can use any pin for the CS, but we use D5 here:\n\n\n.. code:: python\n\n from busio import SPI\n from digitalio import DigitalInOut\n import board\n\n spi = SPI(clock=board.SCK, MISO=board.MISO, MOSI=board.MOSI)\n cs = DigitalInOut(board.D5)\n\nNext, just create the sensor object:\n\n.. code:: python\n\n sensor = adafruit_max31855.MAX31855(spi, cs)\n\nAnd you can start making measurements:\n\n.. code:: python\n\n print(sensor.temperature)\n\nThe temperature is read in degrees Celsius (\u00b0C). You have to convert it to\nother units yourself, if you need it.\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-max31855 --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_MAX31855", "keywords": "adafruit max31855 thermocouple hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-max31855", "package_url": "https://pypi.org/project/adafruit-circuitpython-max31855/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-max31855/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_MAX31855" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-max31855/3.0.5/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for controlling a MAX31855 Thermocouple sensor chip.", "version": "3.0.5" }, "last_serial": 4697177, "releases": { "3.0.2": [ { "comment_text": "", "digests": { "md5": "5549b67a3538f3c8d21b0ef69d7172ca", "sha256": "a06b28c9ef310d6779095560bb744af54e832e500f955da9c94947ebcb8b5a39" }, "downloads": -1, "filename": "adafruit-circuitpython-max31855-3.0.2.tar.gz", "has_sig": false, "md5_digest": "5549b67a3538f3c8d21b0ef69d7172ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18635, "upload_time": "2018-07-01T22:08:14", "url": "https://files.pythonhosted.org/packages/02/bc/2f306390163e25ef8f4413ff1a30dac50ebf9118413dbfa9d264b44a996a/adafruit-circuitpython-max31855-3.0.2.tar.gz" } ], "3.0.3": [ { "comment_text": "", "digests": { "md5": "e511d00bcb3f0a8196fca5a9dee66c0b", "sha256": "71f623f7e428179de564521caeb5719130cdb30eb54db2ab989862fffdbfa5df" }, "downloads": -1, "filename": "adafruit-circuitpython-max31855-3.0.3.tar.gz", "has_sig": false, "md5_digest": "e511d00bcb3f0a8196fca5a9dee66c0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18654, "upload_time": "2018-08-06T21:08:07", "url": "https://files.pythonhosted.org/packages/f7/75/94aab0c7e249f64b15adef215a7e07ca9e62d4bc200766da66d318b044e1/adafruit-circuitpython-max31855-3.0.3.tar.gz" } ], "3.0.4": [ { "comment_text": "", "digests": { "md5": "01862dd024b8e9f587401cbcd7ff347a", "sha256": "549d6136cedccec9105c3e3013a4baedbee9c48e488f584fffb8e888e1cbcedf" }, "downloads": -1, "filename": "adafruit-circuitpython-max31855-3.0.4.tar.gz", "has_sig": false, "md5_digest": "01862dd024b8e9f587401cbcd7ff347a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18655, "upload_time": "2018-11-12T20:17:16", "url": "https://files.pythonhosted.org/packages/7d/48/588921edff29de82f0be0160b32edffa2b88fd2d3fb340bc9c2d9d26fd23/adafruit-circuitpython-max31855-3.0.4.tar.gz" } ], "3.0.5": [ { "comment_text": "", "digests": { "md5": "06841f68ed00ebede2b5462c17f96c8f", "sha256": "c5c07348d4994b5b1da4d9b24114bcb70c4a0547d4d24e04d886d2bbbcf05bb9" }, "downloads": -1, "filename": "adafruit-circuitpython-max31855-3.0.5.tar.gz", "has_sig": false, "md5_digest": "06841f68ed00ebede2b5462c17f96c8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17211, "upload_time": "2019-01-15T03:18:23", "url": "https://files.pythonhosted.org/packages/d2/53/87ddc3f9c6a089a51e06a832682dc8b37b690e8f3f157d8e7322c3e5a859/adafruit-circuitpython-max31855-3.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "06841f68ed00ebede2b5462c17f96c8f", "sha256": "c5c07348d4994b5b1da4d9b24114bcb70c4a0547d4d24e04d886d2bbbcf05bb9" }, "downloads": -1, "filename": "adafruit-circuitpython-max31855-3.0.5.tar.gz", "has_sig": false, "md5_digest": "06841f68ed00ebede2b5462c17f96c8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17211, "upload_time": "2019-01-15T03:18:23", "url": "https://files.pythonhosted.org/packages/d2/53/87ddc3f9c6a089a51e06a832682dc8b37b690e8f3f157d8e7322c3e5a859/adafruit-circuitpython-max31855-3.0.5.tar.gz" } ] }