pyubx2
UBX protocol parser and generator
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive BSD-3-Clause license. It fills a clear need for developers working with u-blox GNSS receivers. Install it if you need to parse or generate UBX protocol messages.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python>=3.10; stream object must support read(n) -> bytes method.
- Low install friction with a pure Python wheel.
- Actively maintained with a recent release 27 days old and a stable repository.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.
last release 2026-07-18 (27 days) · last repo commit 2026-07-18 · 253 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 93,040 downloads/mo, #13,404 on PyPI
Alternatives
Verify before relying
from pyubx2 import UBXReader
with open('ubxdata.bin', 'rb') as stream:
ubr = UBXReader(stream)
for raw_data, parsed_data in ubr:
print(parsed_data)- Whether the command-line utility and graphical client mentioned in the documentation are included in the PyPI distribution.
- Performance characteristics when parsing high-frequency GNSS message streams.
- Whether custom UBX message type extensibility is straightforward for typical use cases.
What it is and what it does
pyubx2 is a parser and generator for the UBX binary protocol used by u-blox GNSS receiver modules. It reads and parses incoming UBX messages from streams (serial, file, or socket), returning both raw bytes and structured message objects. The package integrates support for NMEA 0183 and RTCM3 protocols via its runtime dependencies pynmeagps and pyrtcm, covering all output protocols that u-blox receivers produce.
The library divides UBX messages into three categories: GET (output from the receiver), SET (commands to the receiver), and POLL (queries to the receiver). It provides a UBXReader class for streaming and parsing, a static parse() method for individual messages, and utilities for generating and serializing messages. The package is readily extensible and implements a comprehensive set of messages for current u-blox devices.
Use it for
- Stream and parse real-time GNSS data from a u-blox receiver via file or socket.
- Read and decode UBX messages from a binary file for post-processing or analysis.
- Send configuration commands or queries to a u-blox receiver and parse responses.
- Handle mixed protocol streams containing UBX, NMEA, and RTCM3 messages.
- Extend the parser with custom UBX message definitions for non-standard outputs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive BSD-3-Clause license. It fills a clear need for developers working with u-blox GNSS receivers. Install it if you need to parse or generate UBX protocol messages.
Install
pyubx2 on PyPI
Before you install
Low install friction with a pure Python wheel. Actively maintained with a recent release 27 days old and a stable repository. Requires Python>=3.10.
Requires Python>=3.10; stream object must support read(n) -> bytes method.
License in practice
BSD-3-Clause is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.
Quickstart
from pyubx2 import UBXReader
with open('ubxdata.bin', 'rb') as stream:
ubr = UBXReader(stream)
for raw_data, parsed_data in ubr:
print(parsed_data)
Verify before relying
- Whether the command-line utility and graphical client mentioned in the documentation are included in the PyPI distribution.
- Performance characteristics when parsing high-frequency GNSS message streams.
- Whether custom UBX message type extensibility is straightforward for typical use cases.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespynmeagpspyrtcm |
| Maintenance | Actively maintained 27 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 93,040 / month, #13,404 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS XEnvironment :: Win32 (MS Windows)Environment :: X11 ApplicationsIntended Audience :: DevelopersIntended Audience :: End Users/DesktopIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: GISTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities |
Evidence: pyubx2-1.3.6-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ubx protocol parser”
- pyubx2Parses and generates UBX protocol messages from u-blox GNSS…
- line-protocol-parserParses InfluxDB line protocol strings into Python dictionaries,…
- libvalkeylibvalkey is a Python C extension that accelerates parsing of…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pynmeagps · pyrtcm · pynmea2 · pykdebugparser · x690 · pyais · oralb-ble · fdt · protobuf-decoder · garmin-fit-sdk