# adafruit/Adafruit_Python_DHT

Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi or Beaglebone Black.

Repository: https://github.com/adafruit/Adafruit_Python_DHT
Canonical: https://ross.abutalabs.com/products/adafruit_python_dht
Language: C
License: MIT
License Family: permissive
Archived: true
Last push: 2019-11-12T01:53:47+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4470, "days_push": 2487, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1134, forks 980 (observed 2026-08-28T04:03:43.251149+00:00)

## What it is
A deprecated Python library for reading DHT series humidity and temperature sensors on Raspberry Pi and Beaglebone Black, with a C extension for timing-sensitive sensor communication. Adafruit archived it in favor of CircuitPython libraries.

## Use cases
- read temperature and humidity from a DHT22 sensor on Raspberry Pi
- get DHT11 sensor readings in Python
- log humidity data from a sensor on Beaglebone Black
- interface DHT sensors with a Raspberry Pi project
- read environmental sensor data over GPIO

## When to choose
- maintaining legacy code that already depends on Adafruit_DHT
- historical or research reference for DHT sensor protocols

## When to avoid
- starting a new project - use Adafruit's CircuitPython DHT library instead
- you need support for modern Python versions or current hardware
- you need maintained, updated sensor drivers

## Facets
- artifact type: library
- maturity: abandoned
- function: sdk, embedded
- domain: iot, hardware, embedded-systems
- platform: python, embedded
- tags: dht-sensor, humidity, temperature, raspberry-pi, beaglebone, deprecated, sensor-reading, gpio, linux

## Member repositories
- adafruit/Adafruit_Python_DHT (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:43.251149+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:36:53.761251+00:00, confidence not recorded.
  - readme: https://github.com/adafruit/Adafruit_Python_DHT (fetched 2026-08-28T04:03:43.251149+00:00, sha e51c159d2b61)
- Data as of 2026-08-30T08:39:29.467469+00:00.
