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 use 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.5.0.tar.gz (70.2 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.5.0-py3-none-any.whl (64.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for n2k-0.5.0.tar.gz
Algorithm Hash digest
SHA256 8f9d9e87b48b079899703470eb5c0c8b7b64e5b65845d27d6d1a1bbfc81ae6ce
MD5 8dd0ca196bb61922d6bd1b6d855acfff
BLAKE2b-256 14256f817ccfc7354ac533ca7a8b3b66f7ccb093f7a09a7060b368e48369a6e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: n2k-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 64.6 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cc7d1973ea841eae2d520fe82a8a3268f80fb8b7f2cb88652609892de74575e
MD5 f4f44b2d15260b4f429608cd0fcf654c
BLAKE2b-256 324014a3356c0f73f2a1229f9be39b01b921f540024dc012427fe5fb98c04a64

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