Skip to main content

Framework genérico multi-dialeto para parsing e geração de sentenças NMEA (NMEA-0183, AIS e dialetos customizados)

Project description

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

pip install marine4py

Uso rápido

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/               

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marine4py-0.2.0.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marine4py-0.2.0-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file marine4py-0.2.0.tar.gz.

File metadata

  • Download URL: marine4py-0.2.0.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.9

File hashes

Hashes for marine4py-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2c9d3c5b9529ac815928d323e9e00330ec1e7579774ce88ec36899139965074c
MD5 cf971b9ccf7e2ffa6799a13525002d27
BLAKE2b-256 fa14ef94687ea4fff5a7b32679a04e1383eb122a6cd4fde9ff08a43e3df63810

See more details on using hashes here.

File details

Details for the file marine4py-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: marine4py-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.9

File hashes

Hashes for marine4py-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdaf1217442dd5a5c818637a5f2eda72b78344e855020042c561ad213279c1d0
MD5 aa564430c845af417a3159d25b7c3398
BLAKE2b-256 f4a2c0f449d1a4954dcea42539916cdc82379705d5beb0d19c4626e4bfd4d3f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page