{ "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-thermistor/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/thermistor/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_Thermistor.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_Thermistor\n :alt: Build Status\n\nThermistors are resistors that predictably change resistance with temperature.\nThis driver uses an analog reading and math to determine the temperature. They\nare commonly used as a low cost way to measure temperature.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\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-thermistor\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-thermistor\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-thermistor\n\nUsage Example\n=============\n\nThe hardest part of using the driver is its initialization. Here is an example\nfor the thermistor on the Circuit Playground and Circuit Playground Express. Its\na 10k series resistor, 10k nominal resistance, 25 celsius nominal temperature and\n3950 B coefficient.\n\n.. code-block : python\n\n import adafruit_thermistor\n import board\n thermistor = adafruit_thermistor.Thermistor(board.TEMPERATURE, 10000, 10000, 25, 3950)\n print(thermistor.temperature)\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-thermistor --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_Thermistor", "keywords": "adafruit thermal resistor temperature hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-thermistor", "package_url": "https://pypi.org/project/adafruit-circuitpython-thermistor/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-thermistor/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_Thermistor" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-thermistor/3.2.3/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for Thermistor thermal resistor temperature sensor.", "version": "3.2.3" }, "last_serial": 5881255, "releases": { "3.2.0": [ { "comment_text": "", "digests": { "md5": "e09bcae76bccc29fef480f45bb1b907b", "sha256": "324b10ed39b10c3100522a818fd916ae1b15d46d9b7bd96e9f118e0ed688749e" }, "downloads": -1, "filename": "adafruit-circuitpython-thermistor-3.2.0.tar.gz", "has_sig": false, "md5_digest": "e09bcae76bccc29fef480f45bb1b907b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19985, "upload_time": "2018-08-03T17:55:22", "url": "https://files.pythonhosted.org/packages/1a/f7/06c87cc5a94094ef41aab6da7c10332c6f076dd0d5d65c02043c20e68116/adafruit-circuitpython-thermistor-3.2.0.tar.gz" } ], "3.2.1": [ { "comment_text": "", "digests": { "md5": "4e2e39fd382b38727bf7f08313830535", "sha256": "7db5f6121a00306cec36d7c3265e78e143e555228ee5565187367b4ae2743521" }, "downloads": -1, "filename": "adafruit-circuitpython-thermistor-3.2.1.tar.gz", "has_sig": false, "md5_digest": "4e2e39fd382b38727bf7f08313830535", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19985, "upload_time": "2018-11-01T21:41:47", "url": "https://files.pythonhosted.org/packages/5b/a6/fa5218ca3bee0962fdf35da2ab05026d552cfb5e7a71123a9dbb6c6b396d/adafruit-circuitpython-thermistor-3.2.1.tar.gz" } ], "3.2.2": [ { "comment_text": "", "digests": { "md5": "94db92d2c799443c3f34af7969fa20b9", "sha256": "ab3582ad582f32d2f2c7de209dc1ac657075deeb3f8b102b418bdba41172a1f3" }, "downloads": -1, "filename": "adafruit-circuitpython-thermistor-3.2.2.tar.gz", "has_sig": false, "md5_digest": "94db92d2c799443c3f34af7969fa20b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19136, "upload_time": "2018-12-29T00:13:12", "url": "https://files.pythonhosted.org/packages/e9/05/d2bb29795ce48800d6a0dbd4b5a496e3971fd94b44b40b963665de1bc7b0/adafruit-circuitpython-thermistor-3.2.2.tar.gz" } ], "3.2.3": [ { "comment_text": "", "digests": { "md5": "efcc42677d737ccc1707cb1796c3c355", "sha256": "4ccef016e5f3745bf6774f4bb469eef701ee7a16e70fd33d49733c93a7727cea" }, "downloads": -1, "filename": "adafruit-circuitpython-thermistor-3.2.3.tar.gz", "has_sig": false, "md5_digest": "efcc42677d737ccc1707cb1796c3c355", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19452, "upload_time": "2019-09-24T18:21:51", "url": "https://files.pythonhosted.org/packages/2b/76/27cac271d7afc31f55632ef86bc7807a629c4e1776f2441dcf33a9baf660/adafruit-circuitpython-thermistor-3.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "efcc42677d737ccc1707cb1796c3c355", "sha256": "4ccef016e5f3745bf6774f4bb469eef701ee7a16e70fd33d49733c93a7727cea" }, "downloads": -1, "filename": "adafruit-circuitpython-thermistor-3.2.3.tar.gz", "has_sig": false, "md5_digest": "efcc42677d737ccc1707cb1796c3c355", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19452, "upload_time": "2019-09-24T18:21:51", "url": "https://files.pythonhosted.org/packages/2b/76/27cac271d7afc31f55632ef86bc7807a629c4e1776f2441dcf33a9baf660/adafruit-circuitpython-thermistor-3.2.3.tar.gz" } ] }