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
todocomments 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file n2k-0.4.0.tar.gz.
File metadata
- Download URL: n2k-0.4.0.tar.gz
- Upload date:
- Size: 65.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6905fd21d9f9e3f2e0cb38e9e0fab7658e04791244d58fc4ef6b726990450052
|
|
| MD5 |
e4deb12e2b6ae1b95a9d6d08e88a46cc
|
|
| BLAKE2b-256 |
45261c96046aa8360f72f7b0074c8efbccf1e730d7940fd64699e5f13678bf13
|
File details
Details for the file n2k-0.4.0-py3-none-any.whl.
File metadata
- Download URL: n2k-0.4.0-py3-none-any.whl
- Upload date:
- Size: 62.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b08031c5341999983b767310f8741dc524beab99f8a79e436ddbfb6d1df0bdda
|
|
| MD5 |
d379983173f84cc65ba6c39ff14ee01f
|
|
| BLAKE2b-256 |
fa9cb0cfb13a4cfb7fb2c998d03baf7924fc77bd250c82340897cb5d2a3f5b30
|