Metadata-Version: 2.4
Name: nmeaparsec
Version: 0.1.0
Summary: A Python package for parsing NMEA data from GPS devices
Home-page: https://github.com/YavuzMuratt/nmeaparsec
Author: Yavuz Murat
Author-email: yyavuzmurat@gmail.com
Project-URL: Bug Reports, https://github.com/YavuzMuratt/nmeaparsec/issues
Project-URL: Source, https://github.com/YavuzMuratt/nmeaparsec
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.19.0
Provides-Extra: visualization
Requires-Dist: matplotlib>=3.3.0; extra == "visualization"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# NmeaParseC

A Python package for parsing NMEA data from GPS devices. This package provides tools to read and process NMEA sentences from GPS log files, with support for common NMEA message types like GPRMC and GPGGA.

## Features

- Parse NMEA sentences from files
- Support for GPRMC and GPGGA message types
- Convert coordinates between DDMM.MMMMM and decimal degrees
- Calculate distances between GPS points using the Haversine formula
- Extract timestamps, coordinates, and other GPS data
- Type hints and dataclass support for better code organization

## Installation

```bash
pip install nmeaparsec
```

## Usage

```python
from nmeaparsec import NMEAParser

# Create a parser instance
parser = NMEAParser()

# Parse a NMEA file
gps_data = parser.parse_file("path/to/your/nmea/file.nmea")

# Get coordinates
coordinates = parser.get_coordinates()

# Get timestamps
timestamps = parser.get_timestamps()

# Calculate distances between consecutive points
distances = parser.get_distances()
```

## Supported NMEA Sentences

- GPRMC (Recommended Minimum Navigation Information)
- GPGGA (Global Positioning System Fix Data)

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the LICENSE file for details. 
