Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ypmeteo

ypmeteo is a python library for extracting temperature, humidity and pressure data directly from a Yoctopuce Yocto-Meteo USB weather module using libusb.

Installation

$ pip install ypmeteo

ypmeteo requires read/write access to a USB device file, see (60-ypmeteo.rules) for an example udev rule to place an attached Yocto-Meteo device in group plugdev.

Usage

with ypmeteo.connect() as m:
    print('{0:0.1f} °C'.format(m.t))
    print('{0:0.0f} %rh'.format(m.h))
    print('{0:0.1f} hPa'.format(m.p))

Limitations

This library will only read from the first detected Yocto-Meteo module (USB id 24e0:0018). If support for additional units is required, Yoctopuce API or virtual hub may be a better fit.

Meteo-V2 is untested.

Requirements

  • pyusb (libusb)

Metadata

Release files for ypmeteo 1.0.1b1

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

Source distribution (sdist)

Source distribution for ypmeteo 1.0.1b1
File Size Uploaded Provenance Actions
ypmeteo-1.0.1b1.tar.gz 4.3 kB Without provenance Details for ypmeteo-1.0.1b1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ypmeteo 1.0.1b1
File Interpreter ABI Platform Actions
ypmeteo-1.0.1b1-py3-none-any.whl Python 3 none any Details for ypmeteo-1.0.1b1-py3-none-any.whl

Total release size: 8.7 kB

Release files / ypmeteo-1.0.1b1.tar.gz

Download URL ypmeteo-1.0.1b1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3622919a72a8e267fa0cf08b87469b1044b512e52e890c58c8942781f477d8b3
BLAKE2b-256 checksum
How to use checksums
413ae2fc7c58da18c7bddba4aa589d9ad96ac384498ea59b6e8f93e4e22b1d56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.3

Release files / ypmeteo-1.0.1b1-py3-none-any.whl

Download URL ypmeteo-1.0.1b1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9aa84fbd9755363e59c2cf527916297f1481dba1c0148741760d6e988a6c328
BLAKE2b-256 checksum
How to use checksums
c0a3d3e069bd3d2386d4470d7f57995807b6f6aea7a8af68327af03d3bbaccb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.3

Security for ypmeteo 1.0.1b1

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.

Release history Release notifications | RSS feed

This release
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