Skip to main content

A quick-and-dirty library wrapping the native API of the waveshare GPS hat.

Project description

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


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


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


For a description of the contents of each packet type, see:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for waveshare-rpi, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size waveshare_rpi-0.1.3-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page