fixposition
Python driver for fixposition gps
NOTE: work-in-progress
Currently these messages are supported: GGA,HDT,ODOMETRY
Functionality overview
parser.parse(msg: str, ignore: List[str] = []) -> FPX_Message | None:- parse NMEA message to a NamedTuple- record and replay messages with
fixpositioncli - use
gps_node.FpxNodeclass as async node to interface with fixposition device over socket.
Usage
Message parsing:
from fixposition import parser
msg = "$GPHDT,61.7,T*05\r\n"
data = parser.parse(msg)
CLI tool
This package provides a command-line tool fixposition:
Usage: fixposition [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
listen Listen to messages and print them to stdout
node Start the gps node
record Record messages to file
replay Replay messages from a file or default data if not provided.
How it works
- message definitions are in
fixposition.messages. Each submodule contains aparse()function. @validate_checksumdecorator adds nmea checksum to parse function.parser.parse(msg)returnsNamedTupleof a message
See .messages code, extending this should be easy.
References
Development
- develop and test in devcontainer (VSCode)
- devops are managed with
invoke, seetasks.py
Tooling
- Verisoning :
bump2version - Linting :
pylint - Formatting:
black - Typechecking:
mypy - scripting:
invoke: seetasks.py
What goes where
src/fixpositionapp code.pip install ..tasks.pyautomates common tasks withinvoke
Metadata
Release files for fixposition 0.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fixposition-0.6.2.tar.gz | 39.7 kB | Without provenance | Details for fixposition-0.6.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fixposition-0.6.2-py3-none-any.whl | Python 3 | none | any | Details for fixposition-0.6.2-py3-none-any.whl |
Total release size: 54.1 kB
Release files / fixposition-0.6.2.tar.gz
| Download URL | fixposition-0.6.2.tar.gz |
|---|---|
| Size | 39.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b20586adc6cc3b241a2652442e40bc27ea3b543ef4a34d7bdbf0966368fe43ff
|
|
BLAKE2b-256 checksum How to use checksums |
1b92ad60ba00f676544bc04267840a213433f0d4a314b810b405dd76cad4c2aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / fixposition-0.6.2-py3-none-any.whl
| Download URL | fixposition-0.6.2-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d75207ca46449bae1e152fd0c4e6637f17d6cb3256c61f1bd9e4e88e8105e38
|
|
BLAKE2b-256 checksum How to use checksums |
654dddf98f26465a9a44adf06661b7ac25d0f69e07e2ef8a78e5301eb7a18ab8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for fixposition 0.6.2
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.