pynmea2
Python library for the NMEA 0183 protcol
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no dependencies, installs cleanly, carries a permissive MIT license, and solves a specific and well-defined problem. Install it if you need to parse or generate NMEA 0183 sentences from GPS or marine devices.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with no runtime dependencies.
- Active maintenance with last commit on 2026-04-21 and 680 repository stars.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects alike.
last release 2023-01-19 (1303 days) · last repo commit 2026-04-21 · 680 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 150,717 downloads/mo, #10,958 on PyPI
Alternatives
Verify before relying
pip install pynmea2
import pynmea2
msg = pynmea2.parse("$GPGGA,184353.07,1929.045,S,02410.506,E,1,04,2.6,100.00,M,-33.9,M,,0000*6D")
print(msg.latitude, msg.longitude, msg.altitude)- Whether the package handles all NMEA 0183 sentence types or only a subset of the protocol
- Performance characteristics when parsing high-volume streams from serial devices
- Whether helper properties like latitude/longitude conversion are available for all sentence types
What it is and what it does
pynmea2 is a Python library that reads and writes NMEA 0183 protocol sentences—the standard format for GPS receivers, marine instruments, and navigation devices. It parses raw NMEA strings (like "$GPGGA,184353.07,1929.045,S,...") into Python objects with named fields, and can reconstruct NMEA strings from those objects. The library extracts structured data such as timestamp, latitude, longitude, altitude, and satellite count, and provides convenience properties to convert between NMEA's degree-minute-second format and decimal degrees.
The package is designed for applications that need to read GPS or marine data from serial ports, log files, or other NMEA sources. It handles optional checksums (can validate, require, or ignore them), supports multiple sentence types (GGA, RMC, etc.), and works with both Python 2.7 and modern Python 3 versions. No external dependencies are required—it installs as a single pure-Python wheel.
Use it for
- Read GPS coordinates from a serial port and convert them to decimal degrees for mapping or location tracking
- Parse NMEA log files from marine instruments to extract and validate navigation data
- Build a real-time GPS dashboard that decodes live NMEA streams and displays position, altitude, and satellite info
- Generate NMEA sentences programmatically to simulate or test GPS device behavior
- Integrate GPS data into IoT or embedded systems that communicate via NMEA protocol
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 dependencies, installs cleanly, carries a permissive MIT license, and solves a specific and well-defined problem. Install it if you need to parse or generate NMEA 0183 sentences from GPS or marine devices.
Install
pynmea2 on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Active maintenance with last commit on 2026-04-21 and 680 repository stars.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects alike.
Quickstart
pip install pynmea2
import pynmea2
msg = pynmea2.parse("$GPGGA,184353.07,1929.045,S,02410.506,E,1,04,2.6,100.00,M,-33.9,M,,0000*6D")
print(msg.latitude, msg.longitude, msg.altitude)
Verify before relying
- Whether the package handles all NMEA 0183 sentence types or only a subset of the protocol
- Performance characteristics when parsing high-volume streams from serial devices
- Whether helper properties like latitude/longitude conversion are available for all sentence types
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,303 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 150,717 / month, #10,958 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: Scientific/Engineering :: GISTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pynmea2-1.19.0-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 › “nmea 0183 parser”
- pynmea2Parses and generates NMEA 0183 sentences from GPS and marine…
- pynmeagpsParses and generates NMEA 0183 GPS/GNSS protocol messages, enabling…
- pyubx2Parses and generates UBX protocol messages from u-blox GNSS…
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 pyais · pynmeagps · pyubx2 · pyrtcm · lat-lon-parser · gps3 · mgrs · pygeohash · py-geohex3 · suntimes