Metadata-Version: 2.4
Name: marine4py
Version: 0.1.0
Summary: Framework genérico multi-dialeto para parsing e geração de sentenças NMEA (NMEA-0183, AIS e dialetos customizados)
Author: Pedro Magno
License: MIT
Project-URL: Homepage, https://github.com/PedroMagno11/Marine4py
Project-URL: Repository, https://github.com/PedroMagno11/Marine4py
Keywords: nmea,nmea-0183,ais,gps,marine,maritime
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Communications
Classifier: Topic :: Scientific/Engineering :: GIS
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"
Dynamic: license-file

# marine4py

Framework genérico e multi-dialeto para parsing e geração de sentenças NMEA em Python — suporta NMEA-0183, AIS e dialetos definidos pelo usuário, com especificação explícita de dialeto.

## Instalação

```bash
pip install marine4py
```

## Uso rápido

```python
from marine4py import parse

sentence = parse(
    "$GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47",
    dialect="gps",
)
print(sentence.latitude, sentence.longitude)
```

## Status

Projeto em fase inicial (alpha). Sentenças NMEA-0183 implementadas hoje: `GGA`, `RMC`, `VTG`, `GSA`, `GSV`, `ZDA`, `GLL`, `HDT`, além de suporte a AIS e a sentenças proprietárias (`$P...`).

## Estrutura

```
marine4py/
├── core/                  
│   ├── assembler.py
│   ├── checksum.py        
│   ├── error.py           
│   ├── field.py           
│   ├── framing.py         
│   ├── nmea.py
│   ├── registry.py            
│   └── stream.py          
├── dialects/
    ├── ais/   
    ├── gps/               
    └── proprietary/               

```
