{"id":15023487,"url":"https://github.com/adafruit/adafruit_circuitpython_mcp9808","last_synced_at":"2025-04-08T03:16:44.644Z","repository":{"id":15955379,"uuid":"78701008","full_name":"adafruit/Adafruit_CircuitPython_MCP9808","owner":"adafruit","description":"CircuitPython drivers for the MCP9808 i2c high accuracy temperature sensor.","archived":false,"fork":false,"pushed_at":"2025-01-22T16:22:28.000Z","size":137,"stargazers_count":14,"open_issues_count":0,"forks_count":18,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-04-08T03:16:34.046Z","etag":null,"topics":["circuitpython","hacktoberfest"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adafruit.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-12T02:34:52.000Z","updated_at":"2025-01-22T16:22:06.000Z","dependencies_parsed_at":"2024-06-21T05:45:46.800Z","dependency_job_id":"af3eebec-04bf-4184-853d-b18e0c7ef7cd","html_url":"https://github.com/adafruit/Adafruit_CircuitPython_MCP9808","commit_stats":{"total_commits":114,"total_committers":25,"mean_commits":4.56,"dds":0.8245614035087719,"last_synced_commit":"3d886e2ea54082bb54c2c51c79cd47d3fd69dc5f"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_MCP9808","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_MCP9808/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_MCP9808/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_MCP9808/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adafruit","download_url":"https://codeload.github.com/adafruit/Adafruit_CircuitPython_MCP9808/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767237,"owners_count":20992548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["circuitpython","hacktoberfest"],"created_at":"2024-09-24T19:59:07.204Z","updated_at":"2025-04-08T03:16:44.611Z","avatar_url":"https://github.com/adafruit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nIntroduction\n============\n\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-mcp9808/badge/?version=latest\n    :target: https://docs.circuitpython.org/projects/mcp9808/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n.. image:: https://github.com/adafruit/Adafruit_CircuitPython_MCP9808/workflows/Build%20CI/badge.svg\n    :target: https://github.com/adafruit/Adafruit_CircuitPython_MCP9808/actions/\n    :alt: Build Status\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n    :alt: Code Style: Black\n\nThe MCP9808 is an awesome, high accuracy temperature sensor that communicates\nover I2C. Its available on `Adafruit as a breakout \u003chttps://www.adafruit.com/products/1782\u003e`_.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython \u003chttps://github.com/adafruit/circuitpython\u003e`_\n* `Bus Device \u003chttps://github.com/adafruit/Adafruit_CircuitPython_BusDevice\u003e`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle \u003chttps://github.com/adafruit/Adafruit_CircuitPython_Bundle\u003e`_.\n\nInstalling from PyPI\n====================\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI \u003chttps://pypi.org/project/adafruit-circuitpython-mcp9808/\u003e`_. To install for current user:\n\n.. code-block:: shell\n\n    pip3 install adafruit-circuitpython-mcp9808\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install adafruit-circuitpython-mcp9808\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n    mkdir project-name \u0026\u0026 cd project-name\n    python3 -m venv .venv\n    source .venv/bin/activate\n    pip3 install adafruit-circuitpython-mcp9808\n\nUsage Notes\n===========\n\nGetting the temperature in Celsius is easy! First, import all of the pins from\nthe board, board.I2C() for native I2C communication and the thermometer library\nitself.\n\n.. code-block:: python3\n\n  import board\n  import adafruit_mcp9808\n\nNext, initialize the I2C bus in a with statement so it always gets shut down ok.\nThen, construct the thermometer class:\n\n.. code-block:: python3\n\n  # Do one reading\n  with board.I2C() as i2c:\n      t = adafruit_mcp9808.MCP9808(i2c)\n\n      # Finally, read the temperature property and print it out\n      print(t.temperature)\n\nDocumentation\n=============\n\nAPI documentation for this library can be found on `Read the Docs \u003chttps://docs.circuitpython.org/projects/mcp9808/en/latest/\u003e`_.\n\nFor information on building library documentation, please check out `this guide \u003chttps://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1\u003e`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n\u003chttps://github.com/adafruit/Adafruit_CircuitPython_MCP9808/blob/main/CODE_OF_CONDUCT.md\u003e`_\nbefore contributing to help this project stay welcoming.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_mcp9808","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_mcp9808","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_mcp9808/lists"}