pyserialgps

Interact with serial GPS modules.


Keywords
GPS, geolocation, serial, gps-location, location, python, python3
License
GPL-3.0-only
Install
pip install pyserialgps==0.0.1

Documentation

PySerialGps

Build PyPI Snyk License: GPL v3

This module encapsulates detection and interaction with serial GPS modules.

It is purely implemented in Python, working OS independently.

Usage

List GPS modules:

import pyserialgps

modules = list(pyserialgps.list_modules())
print(modules)

You may use one of the returned GPS module objects or you may open a module from name and read data:

module = GpsModule("COM9")
with module:
    while True:
        print(module.read())