Skip to main content

Library to communicate with NMEA2000 devices.

Project description

NMEA2000

NMEA2000 library for Raspberry Pi. Fork of https://github.com/ttlappalainen/NMEA2000

This library is still in an alpha state and is currently missing support for the following:

  • several messages (as noted by the todo comments in n2k/messages.py
  • testing for the included messages
  • support for transport protocol messages
  • support for group functions
  • proper logging
  • good documentation. For now only the expected values for the messages are documented

The interface for creating messages will likely change in the future.

Installing the library

If you want to use this library for a project, simply install it via pip:

pip install n2k

Contributing

Setup dev environment

First make sure you have python installed.

Then run

./prepare.sh
source .venv/bin/activate

to setup your virtual environment, install dependencies and setup pre-commit hooks.

If you choose to user VS Code as your editor, there are some extension recommendations that will automatically show up, as well as some pre-configured workspace settings.

Build Documentation

cd docs && make clean && make html

Build and publish package

python -m build && twine upload/dist*

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

n2k-0.3.0.tar.gz (65.8 kB view details)

Uploaded Source

Built Distribution

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

n2k-0.3.0-py3-none-any.whl (62.5 kB view details)

Uploaded Python 3

File details

Details for the file n2k-0.3.0.tar.gz.

File metadata

  • Download URL: n2k-0.3.0.tar.gz
  • Upload date:
  • Size: 65.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for n2k-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ca24006fc7b47a5503dfc79d0fcff98fc552761de4d42b5eb6487ef84deeab3b
MD5 7ca2e9c8605f108a9eadb30a5d0d2aff
BLAKE2b-256 db0698baff6b7667f205b6149bb225a0809e1bae0dd62a43a1ee18f6b73b77c2

See more details on using hashes here.

File details

Details for the file n2k-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: n2k-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 62.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for n2k-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d377c61ba4439128d83e139c721474e1c9d041af10585631b6781b5c20a9a41b
MD5 33877d74658ccc60896bd1e9be22fca2
BLAKE2b-256 bc227b799e768c8c48eff41c9f8a6788d871504e5fd6c908a83825882a9899eb

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