Catalog PyPI
PACKAGE EXPLORERView in registry

adafruit-circuitpython-hdc302x

PyPI

CircuitPython driver for the Adafruit HDC302x Precision Temperature/Humidity breakout

adafruitblinkacircuitpythonhdc302xhumiditymicropythonsensortemperature
Versions collected1
Direct dependencies2From release 1.0.10
Last observed20 Oct, 18:51 UTC

README

Version 1.0.10 documentation
Introduction
============


.. image:: https://readthedocs.org/projects/adafruit-circuitpython-hdc302x/badge/?version=latest
    :target: https://docs.circuitpython.org/projects/hdc302x/en/latest/
    :alt: Documentation Status


.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg
    :target: https://adafru.it/discord
    :alt: Discord


.. image:: https://github.com/adafruit/Adafruit_CircuitPython_HDC302x/workflows/Build%20CI/badge.svg
    :target: https://github.com/adafruit/Adafruit_CircuitPython_HDC302x/actions
    :alt: Build Status


.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Code Style: Ruff

CircuitPython driver for the Adafruit HDC302x Precision Temperature/Humidity breakout


Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_
* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_

Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <https://circuitpython.org/libraries>`_
or individual libraries can be installed using
`circup <https://github.com/adafruit/circup>`_.

`Purchase one from the Adafruit shop <http://www.adafruit.com/products/5989>`_

Installing from PyPI
=====================

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/adafruit-circuitpython-hdc302x/>`_.
To install for current user:

.. code-block:: shell

    pip3 install adafruit-circuitpython-hdc302x

To install system-wide (this may be required in some cases):

.. code-block:: shell

    sudo pip3 install adafruit-circuitpython-hdc302x

To install in a virtual environment in your current project:

.. code-block:: shell

    mkdir project-name && cd project-name
    python3 -m venv .venv
    source .env/bin/activate
    pip3 install adafruit-circuitpython-hdc302x

Installing to a Connected CircuitPython Device with Circup
==========================================================

Make sure that you have ``circup`` installed in your Python environment.
Install it with the following command if necessary:

.. code-block:: shell

    pip3 install circup

With ``circup`` installed and your CircuitPython device connected use the
following command to install:

.. code-block:: shell

    circup install adafruit_hdc302x

Or the following command to update an existing version:

.. code-block:: shell

    circup update

Usage Example
=============

.. code-block:: python

    import time
    import board
    import adafruit_hdc302x

    i2c = board.I2C()
    sensor = adafruit_hdc302x.HDC302x(i2c)

    while True:
        print(sensor.temperature, sensor.relative_humidity)
        time.sleep(2)

Documentation
=============
API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/hdc302x/en/latest/>`_.

For information on building library documentation, please check out
`this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/adafruit/Adafruit_CircuitPython_HDC302x/blob/HEAD/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

Downloads & popularity

18downloads
1-day window · source-reported counts20 Oct 2026
90450
2026-07-23: 4 · observed 2026-10-21T14:03:10.5349079Z · period 2026-07-23–2026-07-232026-07-24: 4 · observed 2026-10-21T14:03:10.5349079Z · period 2026-07-24–2026-07-242026-07-25: 2 · observed 2026-10-21T14:03:10.5349079Z · period 2026-07-25–2026-07-252026-07-27: 3 · observed 2026-10-21T14:03:10.5349079Z · period 2026-07-27–2026-07-272026-07-28: 4 · observed 2026-10-21T14:03:10.5349079Z · period 2026-07-28–2026-07-282026-07-29: 2 · observed 2026-10-21T14:03:10.5349079Z · period 2026-07-29–2026-07-292026-07-30: 8 · observed 2026-10-21T14:03:10.5349079Z · period 2026-07-30–2026-07-302026-07-31: 1 · observed 2026-10-21T14:03:10.5349079Z · period 2026-07-31–2026-07-312026-08-01: 2 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-01–2026-08-012026-08-02: 1 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-02–2026-08-022026-08-03: 11 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-03–2026-08-032026-08-04: 2 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-04–2026-08-042026-08-06: 4 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-06–2026-08-062026-08-07: 4 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-07–2026-08-072026-08-08: 9 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-08–2026-08-082026-08-09: 19 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-09–2026-08-092026-08-10: 2 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-10–2026-08-102026-08-11: 9 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-11–2026-08-112026-08-12: 6 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-12–2026-08-122026-08-13: 2 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-13–2026-08-132026-08-14: 16 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-14–2026-08-142026-08-15: 2 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-15–2026-08-152026-08-17: 8 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-17–2026-08-172026-08-18: 2 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-18–2026-08-182026-08-19: 18 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-19–2026-08-192026-08-20: 6 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-20–2026-08-202026-08-21: 10 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-21–2026-08-212026-08-22: 2 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-22–2026-08-222026-08-23: 8 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-23–2026-08-232026-08-24: 63 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-24–2026-08-242026-08-25: 90 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-25–2026-08-252026-08-26: 56 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-26–2026-08-262026-08-27: 67 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-27–2026-08-272026-08-28: 7 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-28–2026-08-282026-08-29: 1 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-29–2026-08-292026-08-30: 16 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-30–2026-08-302026-08-31: 35 · observed 2026-10-21T14:03:10.5349079Z · period 2026-08-31–2026-08-312026-09-01: 37 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-01–2026-09-012026-09-02: 25 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-02–2026-09-022026-09-03: 17 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-03–2026-09-032026-09-04: 9 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-04–2026-09-042026-09-05: 2 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-05–2026-09-052026-09-06: 1 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-06–2026-09-062026-09-07: 12 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-07–2026-09-072026-09-08: 3 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-08–2026-09-082026-09-09: 2 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-09–2026-09-092026-09-10: 11 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-10–2026-09-102026-09-11: 57 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-11–2026-09-112026-09-12: 13 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-12–2026-09-122026-09-13: 1 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-13–2026-09-132026-09-14: 18 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-14–2026-09-142026-09-15: 24 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-15–2026-09-152026-09-16: 37 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-16–2026-09-162026-09-17: 40 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-17–2026-09-172026-09-18: 24 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-18–2026-09-182026-09-19: 48 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-19–2026-09-192026-09-20: 9 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-20–2026-09-202026-09-21: 23 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-21–2026-09-212026-09-22: 49 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-22–2026-09-222026-09-23: 26 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-23–2026-09-232026-09-24: 34 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-24–2026-09-242026-09-25: 35 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-25–2026-09-252026-09-26: 40 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-26–2026-09-262026-09-27: 23 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-27–2026-09-272026-09-28: 21 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-28–2026-09-282026-09-29: 47 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-29–2026-09-292026-09-30: 24 · observed 2026-10-21T14:03:10.5349079Z · period 2026-09-30–2026-09-302026-10-01: 26 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-01–2026-10-012026-10-02: 35 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-02–2026-10-022026-10-03: 25 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-03–2026-10-032026-10-04: 11 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-04–2026-10-042026-10-05: 25 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-05–2026-10-052026-10-06: 26 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-06–2026-10-062026-10-07: 20 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-07–2026-10-072026-10-08: 21 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-08–2026-10-082026-10-09: 11 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-09–2026-10-092026-10-10: 25 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-10–2026-10-102026-10-11: 7 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-11–2026-10-112026-10-12: 15 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-12–2026-10-122026-10-13: 6 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-13–2026-10-132026-10-14: 5 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-14–2026-10-142026-10-15: 4 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-15–2026-10-152026-10-16: 17 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-16–2026-10-162026-10-17: 43 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-17–2026-10-172026-10-18: 23 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-18–2026-10-182026-10-19: 20 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-19–2026-10-192026-10-20: 18 · observed 2026-10-21T14:03:10.5349079Z · period 2026-10-20–2026-10-20
23 Jul20 Oct

pypistats · 87 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-20 – 2026-10-20182026-10-21T14:03:10.5349079Z
2026-10-19 – 2026-10-19202026-10-21T14:03:10.5349079Z
2026-10-18 – 2026-10-18232026-10-21T14:03:10.5349079Z
2026-10-17 – 2026-10-17432026-10-21T14:03:10.5349079Z
2026-10-16 – 2026-10-16172026-10-21T14:03:10.5349079Z
2026-10-15 – 2026-10-1542026-10-21T14:03:10.5349079Z
2026-10-14 – 2026-10-1452026-10-21T14:03:10.5349079Z
2026-10-13 – 2026-10-1362026-10-21T14:03:10.5349079Z
2026-10-12 – 2026-10-12152026-10-21T14:03:10.5349079Z
2026-10-11 – 2026-10-1172026-10-21T14:03:10.5349079Z
2026-10-10 – 2026-10-10252026-10-21T14:03:10.5349079Z
2026-10-09 – 2026-10-09112026-10-21T14:03:10.5349079Z
2026-10-08 – 2026-10-08212026-10-21T14:03:10.5349079Z
2026-10-07 – 2026-10-07202026-10-21T14:03:10.5349079Z
2026-10-06 – 2026-10-06262026-10-21T14:03:10.5349079Z
2026-10-05 – 2026-10-05252026-10-21T14:03:10.5349079Z
2026-10-04 – 2026-10-04112026-10-21T14:03:10.5349079Z
2026-10-03 – 2026-10-03252026-10-21T14:03:10.5349079Z
2026-10-02 – 2026-10-02352026-10-21T14:03:10.5349079Z
2026-10-01 – 2026-10-01262026-10-21T14:03:10.5349079Z
2026-09-30 – 2026-09-30242026-10-21T14:03:10.5349079Z
2026-09-29 – 2026-09-29472026-10-21T14:03:10.5349079Z
2026-09-28 – 2026-09-28212026-10-21T14:03:10.5349079Z
2026-09-27 – 2026-09-27232026-10-21T14:03:10.5349079Z
2026-09-26 – 2026-09-26402026-10-21T14:03:10.5349079Z
2026-09-25 – 2026-09-25352026-10-21T14:03:10.5349079Z
2026-09-24 – 2026-09-24342026-10-21T14:03:10.5349079Z
2026-09-23 – 2026-09-23262026-10-21T14:03:10.5349079Z
2026-09-22 – 2026-09-22492026-10-21T14:03:10.5349079Z
2026-09-21 – 2026-09-21232026-10-21T14:03:10.5349079Z
2026-09-20 – 2026-09-2092026-10-21T14:03:10.5349079Z
2026-09-19 – 2026-09-19482026-10-21T14:03:10.5349079Z
2026-09-18 – 2026-09-18242026-10-21T14:03:10.5349079Z
2026-09-17 – 2026-09-17402026-10-21T14:03:10.5349079Z
2026-09-16 – 2026-09-16372026-10-21T14:03:10.5349079Z
2026-09-15 – 2026-09-15242026-10-21T14:03:10.5349079Z
2026-09-14 – 2026-09-14182026-10-21T14:03:10.5349079Z
2026-09-13 – 2026-09-1312026-10-21T14:03:10.5349079Z
2026-09-12 – 2026-09-12132026-10-21T14:03:10.5349079Z
2026-09-11 – 2026-09-11572026-10-21T14:03:10.5349079Z
2026-09-10 – 2026-09-10112026-10-21T14:03:10.5349079Z
2026-09-09 – 2026-09-0922026-10-21T14:03:10.5349079Z
2026-09-08 – 2026-09-0832026-10-21T14:03:10.5349079Z
2026-09-07 – 2026-09-07122026-10-21T14:03:10.5349079Z
2026-09-06 – 2026-09-0612026-10-21T14:03:10.5349079Z
2026-09-05 – 2026-09-0522026-10-21T14:03:10.5349079Z
2026-09-04 – 2026-09-0492026-10-21T14:03:10.5349079Z
2026-09-03 – 2026-09-03172026-10-21T14:03:10.5349079Z
2026-09-02 – 2026-09-02252026-10-21T14:03:10.5349079Z
2026-09-01 – 2026-09-01372026-10-21T14:03:10.5349079Z
2026-08-31 – 2026-08-31352026-10-21T14:03:10.5349079Z
2026-08-30 – 2026-08-30162026-10-21T14:03:10.5349079Z
2026-08-29 – 2026-08-2912026-10-21T14:03:10.5349079Z
2026-08-28 – 2026-08-2872026-10-21T14:03:10.5349079Z
2026-08-27 – 2026-08-27672026-10-21T14:03:10.5349079Z
2026-08-26 – 2026-08-26562026-10-21T14:03:10.5349079Z
2026-08-25 – 2026-08-25902026-10-21T14:03:10.5349079Z
2026-08-24 – 2026-08-24632026-10-21T14:03:10.5349079Z
2026-08-23 – 2026-08-2382026-10-21T14:03:10.5349079Z
2026-08-22 – 2026-08-2222026-10-21T14:03:10.5349079Z
2026-08-21 – 2026-08-21102026-10-21T14:03:10.5349079Z
2026-08-20 – 2026-08-2062026-10-21T14:03:10.5349079Z
2026-08-19 – 2026-08-19182026-10-21T14:03:10.5349079Z
2026-08-18 – 2026-08-1822026-10-21T14:03:10.5349079Z
2026-08-17 – 2026-08-1782026-10-21T14:03:10.5349079Z
2026-08-15 – 2026-08-1522026-10-21T14:03:10.5349079Z
2026-08-14 – 2026-08-14162026-10-21T14:03:10.5349079Z
2026-08-13 – 2026-08-1322026-10-21T14:03:10.5349079Z
2026-08-12 – 2026-08-1262026-10-21T14:03:10.5349079Z
2026-08-11 – 2026-08-1192026-10-21T14:03:10.5349079Z
2026-08-10 – 2026-08-1022026-10-21T14:03:10.5349079Z
2026-08-09 – 2026-08-09192026-10-21T14:03:10.5349079Z
2026-08-08 – 2026-08-0892026-10-21T14:03:10.5349079Z
2026-08-07 – 2026-08-0742026-10-21T14:03:10.5349079Z
2026-08-06 – 2026-08-0642026-10-21T14:03:10.5349079Z
2026-08-04 – 2026-08-0422026-10-21T14:03:10.5349079Z
2026-08-03 – 2026-08-03112026-10-21T14:03:10.5349079Z
2026-08-02 – 2026-08-0212026-10-21T14:03:10.5349079Z
2026-08-01 – 2026-08-0122026-10-21T14:03:10.5349079Z
2026-07-31 – 2026-07-3112026-10-21T14:03:10.5349079Z
2026-07-30 – 2026-07-3082026-10-21T14:03:10.5349079Z
2026-07-29 – 2026-07-2922026-10-21T14:03:10.5349079Z
2026-07-28 – 2026-07-2842026-10-21T14:03:10.5349079Z
2026-07-27 – 2026-07-2732026-10-21T14:03:10.5349079Z
2026-07-25 – 2026-07-2522026-10-21T14:03:10.5349079Z
2026-07-24 – 2026-07-2442026-10-21T14:03:10.5349079Z
2026-07-23 – 2026-07-2342026-10-21T14:03:10.5349079Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.101 Jul 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
adafruit/adafruit_circuitpython_hdc302x

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:51 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:2a353223429bf233f1172ddba4d77f2b0ffbc256111f8c5c7138cf4bc8c98765