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.1.0.tar.gz (29.0 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.1.0-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for marine4py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4b2fc7296bb7b0429ec3ad31af54a7b64949e6aae6e64cef68d3862300de9630
MD5 9989b8e77997d904e3643d10d974d2df
BLAKE2b-256 2ac73d62c9e0972ad4b2350a0c4993a1b7042cabe3c5877e58dcb7ec87053cf6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: marine4py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.7 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abccbf0dd6334fb54f8354c36ea29db10680ad20d3d932393b65d395b4123b2a
MD5 1746a1480a47af5d5772e1db3bc9f03c
BLAKE2b-256 b3e69ad2f68e8200478279b04d3391292e48117a43b19fea3202c230adcd57cd

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