Skip to main content

HP203B-Library

MicroPython library for HP203B barometric pressure sensor. Written to be used on Riscfruit Pico2 Expansion Card to control HP203B Sensor Module.

Usage

Import the library and initialize sensor and read all values:

from hp203b import HP203B, OSR_1024

sensor = HP203B(sda=26, scl=27, i2c_id=1, freq=100000, osr=OSR_1024)
t, p, alt = sensor.read_all()

See hp203b-sensor-reading.py for a loop sensor reading example.

Licensing

Copyright (c) 2026, Riscfruit Laboratory. This software is developed and distributed with GPL 3.0.

Metadata

Release files for hp203b-library 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hp203b-library 1.0.2
File Size Uploaded Provenance Actions
hp203b_library-1.0.2.tar.gz 17.1 kB Without provenance Details for hp203b_library-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hp203b-library 1.0.2
File Interpreter ABI Platform Actions
hp203b_library-1.0.2-py3-none-any.whl Python 3 none any Details for hp203b_library-1.0.2-py3-none-any.whl

Total release size: 34.6 kB

Release files / hp203b_library-1.0.2.tar.gz

Download URL hp203b_library-1.0.2.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fa9a1d06465f9cf728d7336d3782d6eba011442e8a87bcfc5b6fc56cdb02f6aa
BLAKE2b-256 checksum
How to use checksums
08ce28d5516a966920e0459ef0a0e0344ee8d1b5a6d9605d923b0691064093ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / hp203b_library-1.0.2-py3-none-any.whl

Download URL hp203b_library-1.0.2-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6014bf33a0dc4f0fa92fa4c3130bf78a4396dd6a290b81483790a43eff8934de
BLAKE2b-256 checksum
How to use checksums
92033b8dfbab1dac1fe4c8e59a4252bd31614233dcfc2277ed6aec76006e7dab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for hp203b-library 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page