Skip to main content

Python driver for fixposition gps

Project description

fixposition

Python driver for fixposition gps

NOTE: work-in-progress

Usage

Message parsing:

from fixposition import parser

msg = "$GPHDT,61.7,T*05\r\n"

data = parser.parse(msg)

How it works

or rather how it should work, working on it ...

  • message definitions are in fixposition.messages. Each submodule contains a parse() function.
  • @validate_checksum decorator adds nmea checksum to parse function.
  • parser.parse(msg) returns NamedTuple of a message

References

Development

  1. develop and test in devcontainer (VSCode)
  2. trigger ci builds by bumping version with a tag. (see .gitlab-ci.yml)

Tooling

  • Verisoning : bump2version
  • Linting and formatting : ruff
  • Typechecking: mypy

What goes where

  • src/fixposition app code. pip install . .
  • docker folder contains dockerfiles for images.
  • .gitlab-ci.yml takes care of the building steps.

Project details


Download files

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

Source Distribution

fixposition-0.5.1.tar.gz (13.3 kB view hashes)

Uploaded Source

Built Distribution

fixposition-0.5.1-py3-none-any.whl (14.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page