Python HTTP client for the Actisense W2K-1 NMEA 2000 Wi-Fi gateway
Project description
w2k-client
Python HTTP client for the Actisense W2K-1 NMEA 2000 Wi-Fi gateway.
Handles login / bearer-token authentication, device info, folder and file listing, and streaming EBL file download.
Requirements
- Python 3.9+
- requests 2.28+
Installation
pip install w2k-client
Usage
from w2k_client import W2KClient
with W2KClient("192.168.4.1", password="admin") as client:
info = client.get_info()
print(f"Serial number: {info.serial_number}")
folders = client.list_data_folders()
for folder in folders:
files = client.list_files(folder.name)
for f in files:
print(f" {folder.name}/{f.file_name} ({f.file_size} bytes)")
client.download_file(folder.name, f.file_name, dest_dir="/tmp/ebl/")
Download an entire folder
from w2k_client import W2KClient
with W2KClient("192.168.4.1", password="admin") as client:
paths = client.download_folder("EBL000000", dest_dir="/tmp/ebl/")
print(f"Downloaded {len(paths)} files")
Notes
- The W2K-1 exposes its REST API over its own Wi-Fi access point
(default SSID/IP:
192.168.4.1). - EBL files contain raw NMEA 2000 bus traffic and can be analysed with Actisense tools or third-party parsers.
Disclaimer
This software is provided as-is, without any warranty. Use at your own risk. The authors are not responsible for any damage to devices or data loss.
License
MIT — see LICENSE
Project details
Release history Release notifications | RSS feed
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 w2k_client-0.1.0b2.tar.gz.
File metadata
- Download URL: w2k_client-0.1.0b2.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d4795d0fb7a29ca998148bad62ce97e203f82ba977f95353fc442b30386ae2b
|
|
| MD5 |
5a093b85f5c65101dadbda07a362d6df
|
|
| BLAKE2b-256 |
017963266ab69b1af3a01f5728330fef73819054885d331c9415e29195d02e8b
|
Provenance
The following attestation bundles were made for w2k_client-0.1.0b2.tar.gz:
Publisher:
publish.yml on koheik/w2k-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
w2k_client-0.1.0b2.tar.gz -
Subject digest:
2d4795d0fb7a29ca998148bad62ce97e203f82ba977f95353fc442b30386ae2b - Sigstore transparency entry: 1238618501
- Sigstore integration time:
-
Permalink:
koheik/w2k-client@11f6c95d15dd8190caf310a40644499ee7fcdac1 -
Branch / Tag:
refs/tags/v0.1.0b2 - Owner: https://github.com/koheik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@11f6c95d15dd8190caf310a40644499ee7fcdac1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file w2k_client-0.1.0b2-py3-none-any.whl.
File metadata
- Download URL: w2k_client-0.1.0b2-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
467b4ee6852f4993f29201eb35b82de52905c4b47de6e78dee8b8cbf2daed36b
|
|
| MD5 |
b7f956d79b9699d26c33e9c25b5af0d9
|
|
| BLAKE2b-256 |
9dd04ab23c8345773aea6ee593548efa3d8241eefd4f0988fc177ad042646643
|
Provenance
The following attestation bundles were made for w2k_client-0.1.0b2-py3-none-any.whl:
Publisher:
publish.yml on koheik/w2k-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
w2k_client-0.1.0b2-py3-none-any.whl -
Subject digest:
467b4ee6852f4993f29201eb35b82de52905c4b47de6e78dee8b8cbf2daed36b - Sigstore transparency entry: 1238618506
- Sigstore integration time:
-
Permalink:
koheik/w2k-client@11f6c95d15dd8190caf310a40644499ee7fcdac1 -
Branch / Tag:
refs/tags/v0.1.0b2 - Owner: https://github.com/koheik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@11f6c95d15dd8190caf310a40644499ee7fcdac1 -
Trigger Event:
push
-
Statement type: