{"id":21150798,"url":"https://github.com/cedargrovestudios/circuitpython_temperaturetools","last_synced_at":"2025-07-09T09:31:39.625Z","repository":{"id":139500773,"uuid":"554993294","full_name":"CedarGroveStudios/CircuitPython_TemperatureTools","owner":"CedarGroveStudios","description":"A collection of CircuitPython helpers for calculating Dew Point, Heat Index, and for converting temperature units.","archived":false,"fork":false,"pushed_at":"2023-11-30T17:32:11.000Z","size":593,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-30T18:37:21.566Z","etag":null,"topics":["circuitpython","circuitpython-community-bundle","dew-point","heat-index","temperature-converter"],"latest_commit_sha":null,"homepage":"","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/CedarGroveStudios.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}},"created_at":"2022-10-20T19:04:07.000Z","updated_at":"2023-07-20T19:35:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"fdf7d071-4815-421b-9a91-72b7a2110ab3","html_url":"https://github.com/CedarGroveStudios/CircuitPython_TemperatureTools","commit_stats":null,"previous_names":[],"tags_count":5,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarGroveStudios%2FCircuitPython_TemperatureTools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarGroveStudios%2FCircuitPython_TemperatureTools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarGroveStudios%2FCircuitPython_TemperatureTools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarGroveStudios%2FCircuitPython_TemperatureTools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CedarGroveStudios","download_url":"https://codeload.github.com/CedarGroveStudios/CircuitPython_TemperatureTools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225530555,"owners_count":17483583,"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","circuitpython-community-bundle","dew-point","heat-index","temperature-converter"],"created_at":"2024-11-20T10:08:23.282Z","updated_at":"2024-11-20T10:08:23.938Z","avatar_url":"https://github.com/CedarGroveStudios.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n============\n\n\n\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n\n.. image:: https://github.com/CedarGroveStudios/CircuitPython_TemperatureTools/workflows/Build%20CI/badge.svg\n    :target: https://github.com/CedarGroveStudios/CircuitPython_TemperatureTools/actions\n    :alt: Build Status\n\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\nA collection of CircuitPython helpers for calculating Dew Point, Heat Index, and for converting temperature units..\n\n\n``Dew Point`` calculates dew point temperature from measured temperature (Celsius)\nand humidity (percent). Returns the calculated dew point (Celsius) and summary\ndescription. Detailed description is provided if ``verbose=True``. Dew point value\nis constrained to the range of 0 to 40 (Celsius).\n\n``Heat Index`` calculates heat index temperature from measured temperature\n(Celsius) and humidity (percent). Returns the calculated heat index (Celsius)\nand summary description. Detailed description is provided if ``verbose=True``.\n\n``Unit Converters`` convert values between Celsius, Fahrenheit, and Kelvin.\n\n\n.. image:: https://github.com/CedarGroveStudios/CircuitPython_AirQualityTools/blob/main/media/WARNING.jpg\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython \u003chttps://github.com/adafruit/circuitpython\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://circuitpython.org/libraries\u003e`_\nor individual libraries can be installed using\n`circup \u003chttps://github.com/adafruit/circup\u003e`_.\n\n\nInstalling to a Connected CircuitPython Device with Circup\n==========================================================\n\nMake sure that you have ``circup`` installed in your Python environment.\nInstall it with the following command if necessary:\n\n.. code-block:: shell\n\n    pip3 install circup\n\nWith ``circup`` installed and your CircuitPython device connected use the\nfollowing command to install:\n\n.. code-block:: shell\n\n    circup install cedargrove_temperaturetools\n\nOr the following command to update an existing version:\n\n.. code-block:: shell\n\n    circup update\n\nUsage Example\n=============\n\n.. code-block:: python\n\n    from cedargrove_temperaturetools.dew_point import dew_point\n    from cedargrove_temperaturetools.heat_index import heat_index\n    from cedargrove_temperaturetools.unit_converters import (\n        celsius_to_fahrenheit,\n        celsius_to_kelvin,\n    )\n\n    # Measured temperature and humidity\n    TEMPERATURE = 24  # Degrees Celsius\n    HUMIDITY = 50  # Relative humidity in percent\n\n    dew_point_temp, description = dew_point(TEMPERATURE, HUMIDITY)\n    print(f\"Dew Point = {dew_point_temp} {description}\")\n\n    dew_point_temp, description = dew_point(TEMPERATURE, HUMIDITY, verbose=True)\n    print(f\"Dew Point = {dew_point_temp} {description}\")\n\n    heat_index_temp, description = heat_index(TEMPERATURE, HUMIDITY)\n    print(f\"Heat Index = {heat_index_temp} {description}\")\n\n    heat_index_temp, description = heat_index(TEMPERATURE, HUMIDITY, verbose=True)\n    print(f\"Heat Index = {heat_index_temp} {description}\")\n\n    print(f\"Measured Temperature (Celsius) = {TEMPERATURE}\")\n    print(f\"Measured Temperature (Fahrenheit) = {celsius_to_fahrenheit(TEMPERATURE)}\")\n    print(f\"Measured Temperature (Kelvin) = {celsius_to_kelvin(TEMPERATURE)}\")\n\n\n\nDocumentation\n=============\nAPI documentation for this library can be found on `Read the Docs \u003chttps://github.com/CedarGroveStudios/CircuitPython_TemperatureTools/blob/main/media/pseudo_rtd_cedargrove_temperaturetools.pdf/\u003e`_.\n\nFor information on building library documentation, please check out\n`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/CedarGroveStudios/CircuitPython_AirQualityTools/blob/HEAD/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%2Fcedargrovestudios%2Fcircuitpython_temperaturetools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedargrovestudios%2Fcircuitpython_temperaturetools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedargrovestudios%2Fcircuitpython_temperaturetools/lists"}