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)

Links

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
ypmeteo-1.0.1b1.tar.gz 4.3 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

1.0.1b1 This release

2 release files

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