JSON generator for Signal K Marine data
Project description
Generate Test Data for Navactor
A test data generator for Signal K json forming time-series graphs of marine reporters reporting their own info as well as that of their nearest neighbors'.
see: https://signalk.org/specification/1.7.0/doc/data_model.html
Test output is validated against the Signal K scheme with the Signal K project's validation tool.
also, long live PEP 621
Status
-
Generates arrays of boats moving in different directions at different speeds.
-
Currently boats reporting other boats is random and the nearest neighbor feature is not implemented yet.
Installing
virtualenv
python -m venv venv
source ./venv/bin/activate
python -m pip install --upgrade pip
via Pypi
python -m pip install signalkgen
Or install with "editing" mode from cloned repo for development of the code.
python -m pip install -e .
Usage
signalkgen --num-boats 300 --nautical-miles 5
Validation
See tox.ini or .github/workflows/check.yml for automated tests that invoke the Signal K validation tools.
git clone https://github.com/SignalK/specification
cd specification
npm install
signalkgen --num-boats 300 --nautical-miles 5 | ./bin/validate.js
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 signalkgen-0.2.1.tar.gz.
File metadata
- Download URL: signalkgen-0.2.1.tar.gz
- Upload date:
- Size: 4.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87e3b6641c1cd88b3ce1da48e23a3d3ee1cf2dffeec6173e85a5cfc606230e8b
|
|
| MD5 |
840a5da64a46eb3fe35a108e0d4b0c1b
|
|
| BLAKE2b-256 |
797efe7430e9c7fc3929976c3c4a3c55cf4ff0d097736e39f66204d835db6427
|
File details
Details for the file signalkgen-0.2.1-py3-none-any.whl.
File metadata
- Download URL: signalkgen-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a56341130bd9babb4940fd5308cb64cedba8b82b8218470a8987d15f7fc5e9f
|
|
| MD5 |
3b5b0a8561a8689ef7267d52130ddbd4
|
|
| BLAKE2b-256 |
4a8e53d0def017ebed2f20d586fc9dbde234f9190c430a0a18dad656452f002a
|