pgntui 0.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pgntui-0.1.2/.github/workflows/ci.yml +23 -0
- pgntui-0.1.2/.github/workflows/release.yml +62 -0
- pgntui-0.1.2/.gitignore +14 -0
- pgntui-0.1.2/LICENSE +21 -0
- pgntui-0.1.2/PKG-INFO +66 -0
- pgntui-0.1.2/README.md +15 -0
- pgntui-0.1.2/docs/superpowers/plans/2026-06-04-pgntui-implementation.md +3598 -0
- pgntui-0.1.2/docs/superpowers/specs/2026-06-04-pgntui-design.md +415 -0
- pgntui-0.1.2/packaging/homebrew/pgntui.rb +19 -0
- pgntui-0.1.2/packaging/winget/phobic.pgntui.yaml +21 -0
- pgntui-0.1.2/pyproject.toml +77 -0
- pgntui-0.1.2/src/pgntui/__init__.py +3 -0
- pgntui-0.1.2/src/pgntui/__main__.py +55 -0
- pgntui-0.1.2/src/pgntui/app.py +67 -0
- pgntui-0.1.2/src/pgntui/config.py +42 -0
- pgntui-0.1.2/src/pgntui/containers/__init__.py +0 -0
- pgntui-0.1.2/src/pgntui/containers/loader.py +59 -0
- pgntui-0.1.2/src/pgntui/containers/screen.py +60 -0
- pgntui-0.1.2/src/pgntui/debug/__init__.py +0 -0
- pgntui-0.1.2/src/pgntui/debug/tab.py +46 -0
- pgntui-0.1.2/src/pgntui/decode/__init__.py +0 -0
- pgntui-0.1.2/src/pgntui/decode/canboat.py +111 -0
- pgntui-0.1.2/src/pgntui/decode/pgns.json +67732 -0
- pgntui-0.1.2/src/pgntui/decode/router.py +52 -0
- pgntui-0.1.2/src/pgntui/drivers/__init__.py +0 -0
- pgntui-0.1.2/src/pgntui/drivers/actisense.py +136 -0
- pgntui-0.1.2/src/pgntui/drivers/base.py +33 -0
- pgntui-0.1.2/src/pgntui/drivers/replay.py +55 -0
- pgntui-0.1.2/src/pgntui/logging/__init__.py +0 -0
- pgntui-0.1.2/src/pgntui/logging/csv.py +42 -0
- pgntui-0.1.2/src/pgntui/recording/__init__.py +0 -0
- pgntui-0.1.2/src/pgntui/recording/reader.py +37 -0
- pgntui-0.1.2/src/pgntui/recording/writer.py +46 -0
- pgntui-0.1.2/src/pgntui/replay_mode.py +42 -0
- pgntui-0.1.2/src/pgntui/signals/__init__.py +0 -0
- pgntui-0.1.2/src/pgntui/signals/base.py +158 -0
- pgntui-0.1.2/src/pgntui/signals/widgets.py +140 -0
- pgntui-0.1.2/src/pgntui/themes/__init__.py +0 -0
- pgntui-0.1.2/src/pgntui/themes/builtin/__init__.py +0 -0
- pgntui-0.1.2/src/pgntui/themes/builtin/amber-crt.json +13 -0
- pgntui-0.1.2/src/pgntui/themes/builtin/dark.json +16 -0
- pgntui-0.1.2/src/pgntui/themes/builtin/green-phosphor.json +13 -0
- pgntui-0.1.2/src/pgntui/themes/builtin/light.json +13 -0
- pgntui-0.1.2/src/pgntui/themes/builtin/mono-ascii.json +13 -0
- pgntui-0.1.2/src/pgntui/themes/builtin/rainbow-disco.json +20 -0
- pgntui-0.1.2/src/pgntui/themes/loader.py +125 -0
- pgntui-0.1.2/tests/__init__.py +0 -0
- pgntui-0.1.2/tests/fixtures/__init__.py +0 -0
- pgntui-0.1.2/tests/fixtures/e2e_containers/engine.json +2 -0
- pgntui-0.1.2/tests/fixtures/e2e_containers/nav.json +2 -0
- pgntui-0.1.2/tests/fixtures/e2e_session.pgnlog +4 -0
- pgntui-0.1.2/tests/fixtures/e2e_signals/engine_rpm.json +3 -0
- pgntui-0.1.2/tests/fixtures/e2e_signals/wind_speed.json +3 -0
- pgntui-0.1.2/tests/fixtures/frames.py +17 -0
- pgntui-0.1.2/tests/fixtures/sample.pgnlog +3 -0
- pgntui-0.1.2/tests/test_actisense_driver.py +47 -0
- pgntui-0.1.2/tests/test_app_shell.py +22 -0
- pgntui-0.1.2/tests/test_builtin_themes.py +30 -0
- pgntui-0.1.2/tests/test_canboat.py +26 -0
- pgntui-0.1.2/tests/test_cli.py +22 -0
- pgntui-0.1.2/tests/test_config.py +23 -0
- pgntui-0.1.2/tests/test_container_screen.py +52 -0
- pgntui-0.1.2/tests/test_containers_loader.py +81 -0
- pgntui-0.1.2/tests/test_csv_logger.py +31 -0
- pgntui-0.1.2/tests/test_debug_tab.py +43 -0
- pgntui-0.1.2/tests/test_drivers_base.py +41 -0
- pgntui-0.1.2/tests/test_e2e_replay.py +52 -0
- pgntui-0.1.2/tests/test_packaging.py +39 -0
- pgntui-0.1.2/tests/test_recording_writer.py +29 -0
- pgntui-0.1.2/tests/test_replay_driver.py +36 -0
- pgntui-0.1.2/tests/test_replay_mode.py +38 -0
- pgntui-0.1.2/tests/test_router.py +46 -0
- pgntui-0.1.2/tests/test_signals_base.py +166 -0
- pgntui-0.1.2/tests/test_smoke.py +11 -0
- pgntui-0.1.2/tests/test_themes_loader.py +75 -0
- pgntui-0.1.2/tests/test_widgets_analog_in.py +51 -0
- pgntui-0.1.2/tests/test_widgets_analog_out.py +41 -0
- pgntui-0.1.2/tests/test_widgets_digital_in.py +28 -0
- pgntui-0.1.2/tests/test_widgets_digital_out.py +41 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
name: ci
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: [main]
|
|
5
|
+
pull_request:
|
|
6
|
+
jobs:
|
|
7
|
+
test:
|
|
8
|
+
strategy:
|
|
9
|
+
fail-fast: false
|
|
10
|
+
matrix:
|
|
11
|
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
12
|
+
python: ["3.11", "3.12", "3.13"]
|
|
13
|
+
runs-on: ${{ matrix.os }}
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-python@v5
|
|
17
|
+
with:
|
|
18
|
+
python-version: ${{ matrix.python }}
|
|
19
|
+
- run: pip install -e ".[dev]"
|
|
20
|
+
- run: ruff check .
|
|
21
|
+
- run: ruff format --check .
|
|
22
|
+
- run: mypy src/pgntui
|
|
23
|
+
- run: pytest -q
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
name: release
|
|
2
|
+
# Repository: phobicdotno/pgntui
|
|
3
|
+
# PyPI Trusted Publisher binding: account `phobic`, repo `phobicdotno/pgntui`, workflow `release.yml`
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
tags: ["v*"]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
pypi:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
permissions:
|
|
12
|
+
id-token: write
|
|
13
|
+
contents: read
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-python@v5
|
|
17
|
+
with: { python-version: "3.12" }
|
|
18
|
+
- run: pip install build
|
|
19
|
+
- run: python -m build
|
|
20
|
+
- name: Publish to PyPI (Trusted Publisher)
|
|
21
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
22
|
+
|
|
23
|
+
binaries:
|
|
24
|
+
strategy:
|
|
25
|
+
fail-fast: false
|
|
26
|
+
matrix:
|
|
27
|
+
include:
|
|
28
|
+
- os: macos-14
|
|
29
|
+
arch: arm64
|
|
30
|
+
asset: pgntui-macos-arm64
|
|
31
|
+
- os: macos-13
|
|
32
|
+
arch: x86_64
|
|
33
|
+
asset: pgntui-macos-x86_64
|
|
34
|
+
- os: ubuntu-latest
|
|
35
|
+
arch: x86_64
|
|
36
|
+
asset: pgntui-linux-x86_64
|
|
37
|
+
- os: windows-latest
|
|
38
|
+
arch: x86_64
|
|
39
|
+
asset: pgntui-windows-x86_64.exe
|
|
40
|
+
runs-on: ${{ matrix.os }}
|
|
41
|
+
permissions:
|
|
42
|
+
contents: write
|
|
43
|
+
steps:
|
|
44
|
+
- uses: actions/checkout@v4
|
|
45
|
+
- uses: actions/setup-python@v5
|
|
46
|
+
with: { python-version: "3.12" }
|
|
47
|
+
- run: pip install -e ".[dev,dist]"
|
|
48
|
+
- run: pyinstaller pgntui.spec
|
|
49
|
+
- name: Upload binary
|
|
50
|
+
uses: softprops/action-gh-release@v2
|
|
51
|
+
with:
|
|
52
|
+
files: dist/${{ matrix.asset }}
|
|
53
|
+
|
|
54
|
+
homebrew_winget:
|
|
55
|
+
needs: [pypi, binaries]
|
|
56
|
+
runs-on: ubuntu-latest
|
|
57
|
+
steps:
|
|
58
|
+
- uses: actions/checkout@v4
|
|
59
|
+
- name: Update homebrew tap stub (manual follow-up to phobicdotno/homebrew-tap)
|
|
60
|
+
run: echo "Bump packaging/homebrew/pgntui.rb in phobicdotno/homebrew-tap for ${GITHUB_REF_NAME}"
|
|
61
|
+
- name: Update winget manifest stub (manual follow-up to microsoft/winget-pkgs)
|
|
62
|
+
run: echo "Bump packaging/winget/phobic.pgntui.yaml PR to microsoft/winget-pkgs for ${GITHUB_REF_NAME}"
|
pgntui-0.1.2/.gitignore
ADDED
pgntui-0.1.2/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 phobicdotno
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
pgntui-0.1.2/PKG-INFO
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pgntui
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: Cross-platform TUI for NMEA 2000 with canboat decoding and pluggable drivers
|
|
5
|
+
Author: phobicdotno
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 phobicdotno
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
Keywords: canboat,marine,n2k,nmea2000,tui
|
|
29
|
+
Classifier: Development Status :: 3 - Alpha
|
|
30
|
+
Classifier: Environment :: Console :: Curses
|
|
31
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
32
|
+
Classifier: Operating System :: MacOS
|
|
33
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
34
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
35
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
36
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
38
|
+
Classifier: Topic :: Terminals
|
|
39
|
+
Requires-Python: >=3.11
|
|
40
|
+
Requires-Dist: pyserial>=3.5
|
|
41
|
+
Requires-Dist: textual>=0.80
|
|
42
|
+
Provides-Extra: dev
|
|
43
|
+
Requires-Dist: mypy>=1.10; extra == 'dev'
|
|
44
|
+
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
|
|
45
|
+
Requires-Dist: pytest-textual-snapshot>=1.0; extra == 'dev'
|
|
46
|
+
Requires-Dist: pytest>=8; extra == 'dev'
|
|
47
|
+
Requires-Dist: ruff>=0.6; extra == 'dev'
|
|
48
|
+
Provides-Extra: dist
|
|
49
|
+
Requires-Dist: pyinstaller>=6.6; extra == 'dist'
|
|
50
|
+
Description-Content-Type: text/markdown
|
|
51
|
+
|
|
52
|
+
# pgntui
|
|
53
|
+
|
|
54
|
+
Cross-platform terminal UI for NMEA 2000. Pluggable drivers, canboat decoding,
|
|
55
|
+
JSON-configured dashboards, record/replay.
|
|
56
|
+
|
|
57
|
+
## Install
|
|
58
|
+
|
|
59
|
+
pipx install pgntui
|
|
60
|
+
|
|
61
|
+
## Run
|
|
62
|
+
|
|
63
|
+
pgntui
|
|
64
|
+
pgntui replay path/to/session.pgnlog
|
|
65
|
+
|
|
66
|
+
See `docs/superpowers/specs/2026-06-04-pgntui-design.md` for the design.
|
pgntui-0.1.2/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# pgntui
|
|
2
|
+
|
|
3
|
+
Cross-platform terminal UI for NMEA 2000. Pluggable drivers, canboat decoding,
|
|
4
|
+
JSON-configured dashboards, record/replay.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
pipx install pgntui
|
|
9
|
+
|
|
10
|
+
## Run
|
|
11
|
+
|
|
12
|
+
pgntui
|
|
13
|
+
pgntui replay path/to/session.pgnlog
|
|
14
|
+
|
|
15
|
+
See `docs/superpowers/specs/2026-06-04-pgntui-design.md` for the design.
|