Skip to main content

RPI Waveshare Lib

This is a simple library for using the WaveShare L76x GPS hat for the Raspberry Pi.

The library turns on sensing and runs a background thread that parses the incoming serial messages and pushes them into a queue, from which the most recent message of a given type can be queried synchronously without blocking.

The API exposes the following methods:

Importing the Library

import waveshare

Start Serial Stream

start(device)

This starts the stream of serial data from the waveshare ("device" should be the name of the USB device being used to communicate with the waveshare). Prior to running this method, all getters will return None.

Stop Serial Stream

stop()

This stops the stream of serial data from the device. Until it is re-started, all getters will return the last value published by the device.

Read Data Packets

get_gga()
get_gsa()
get_gsv()
get_rmc()

For a description of the contents of each packet type, see: http://aprs.gids.nl/nmea/

Metadata

Release files for waveshare-rpi 0.1.3

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

Built distribution (wheel)

Table of built distributions (wheels) for waveshare-rpi 0.1.3
File Interpreter ABI Platform Actions
waveshare_rpi-0.1.3-py3-none-any.whl Python 3 none any Details for waveshare_rpi-0.1.3-py3-none-any.whl

Release files / waveshare_rpi-0.1.3-py3-none-any.whl

Download URL waveshare_rpi-0.1.3-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d404f9463d0654ddc6df3b863b2f274dd6c9b871b4cbcca7226244d2f8f7ee8
BLAKE2b-256 checksum
How to use checksums
fcda47033714b62fa51e88f72e254f86be5a9bf9e5ad1fccdca6d62aa6810c40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5

Security for waveshare-rpi 0.1.3

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