Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
ca70d57
Scaffold standalone hamkit-aprs package
afourney Oct 16, 2026
6068d5e
Added test vectors document.
afourney Oct 16, 2026
ef6fce1
Implement typed APRS parsing and composition foundation
afourney Oct 16, 2026
8550ef5
Model APRS payload families and define context-aware codec contracts
afourney Oct 17, 2026
fd5b27e
Document APRS packet families with executable cookbook examples
afourney Oct 17, 2026
ee049b3
Add typed domain-shaped JSON conversion for APRS models
afourney Oct 17, 2026
19cc95a
Use semantic JSON tags and document every APRS model shape
afourney Oct 17, 2026
0cb0450
Simplify public APRS names and unify weather and telemetry models
afourney Oct 17, 2026
3878a65
Rewrite APRS README as independent input-output examples
afourney Oct 17, 2026
c66f36d
Make APRS JSON cookbook examples self-contained
afourney Oct 17, 2026
c825c22
Split APRS parsing examples into single printed results
afourney Oct 17, 2026
4bc84e3
Validate APRS models and recover malformed input at decode boundaries
afourney Oct 17, 2026
74eef83
Enforce audited APRS model invariants and explicit repair facts
afourney Oct 17, 2026
f535b31
Updates based on review.
afourney Oct 17, 2026
8567594
Bug fixes.
afourney Oct 17, 2026
0787c90
Prevent semantic loss in APRS position extensions
afourney Oct 17, 2026
16b711c
Fix CI
afourney Oct 17, 2026
b4c8c2b
Add documented APRS JSONL corpus and strict expected-failure runner
afourney Oct 17, 2026
5ead086
Install package metadata before source corpus CI
afourney Oct 17, 2026
b97beb7
Addressed some test vector issues.
afourney Oct 17, 2026
04ef1e7
Implement APRS packet codecs and complete corpus round trips
codex Oct 17, 2026
386b244
Decode PHG and PHGR through the public codec without compatibility re…
afourney Oct 17, 2026
6838b48
Replace APRS envelope profiles with configurable policies
afourney Oct 17, 2026
977a523
Store historical vector expectations in the public JSON schema
afourney Oct 17, 2026
68d0446
Addressed reviewer comments.
afourney Oct 17, 2026
038603b
Progress removing _compatibility.py
afourney Oct 17, 2026
d8cd5ea
More fixes
afourney Oct 17, 2026
e2c709b
More work
afourney Oct 17, 2026
89bbc22
Preserve decimal water heights when encoding weather reports
afourney Oct 17, 2026
fe4a740
Keep Mic-E grid status text separate from device identifiers
afourney Oct 17, 2026
b65e230
Fix APRS serialization validation gaps
afourney Oct 17, 2026
9141a9d
Merge pull request #5 from afourney/implement/aprs-codecs
afourney Oct 17, 2026
d12b0cf
Merge pull request #4 from afourney/scaffold/aprs-vectors
afourney Oct 17, 2026
5d222e5
Store explicit envelope policies in APRS vectors
afourney Oct 17, 2026
ee31192
Keep APRS sequence vectors stateless
afourney Oct 17, 2026
6ebbb3c
Make APRS extension interpretation policies explicit
afourney Oct 17, 2026
364f93f
Keep water-height reinterpretation opt-in across APRS policies
afourney Oct 17, 2026
0f1e0bb
Derive Mic-E destinations from semantic payload fields
afourney Oct 17, 2026
7358d78
Derive DAO precision and use semantic altitude and NMEA fields
afourney Oct 17, 2026
0e32416
Fix APRS round-trip boundaries and semantic geometry fields
afourney Oct 18, 2026
4ca8a38
Validate Mic-E pole cells with explicit destinations
afourney Oct 18, 2026
f8b29d7
Share ambiguity cell selection between bounds and encoding
afourney Oct 18, 2026
4711894
More fixes.
afourney Oct 18, 2026
d96d2a0
Updated some policies.
afourney Oct 18, 2026
9741648
More fixes.
afourney Oct 18, 2026
686244a
More bug fixes.
afourney Oct 18, 2026
2ddce13
More fixes.
afourney Oct 18, 2026
c0190a0
More fixes
afourney Oct 18, 2026
02ba7b4
Move towards test vectors.
afourney Oct 19, 2026
97c8d6c
Moved many tests to vectors.
afourney Oct 19, 2026
1dca339
Removed unnecessary tests.
afourney Oct 19, 2026
f54a790
Addressed reviewer comments.
afourney Oct 19, 2026
7a6e1cb
Addressed reviewer comments.
afourney Oct 19, 2026
950c143
Merge pull request #6 from afourney/vectors
afourney Oct 19, 2026
f544266
Fix NMEA numeric serialization to use decimal notation
afourney Oct 19, 2026
e78edf5
Fix APRS test typing and narrow decoded NMEA metadata
afourney Oct 19, 2026
27eb105
Readying APRS release.
afourney Oct 19, 2026
82a4c97
Fix CI errors
afourney Oct 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/aprs-vectors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: APRS vector corpus
on:
push:
branches: [scaffold/aprs-vectors]
pull_request:
paths:
- "packages/aprs/**"
- ".github/workflows/aprs-vectors.yml"
jobs:
source-and-wheel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: python -m pip install 'pytest>=8,<10' build -e ./packages/aprs
- name: Test source including every JSONL vector
run: PYTHONPATH=packages/aprs/src python -m pytest packages/aprs/tests -q
- name: Build and install wheel
run: |
python -m build --wheel packages/aprs
python -m pip install --force-reinstall --no-deps packages/aprs/dist/*.whl
- name: Test installed wheel including every JSONL vector
run: python -m pytest packages/aprs/tests -q
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ A collection of useful submodules for HAM Radio. At present, HamKit includes the
| [hamkit-uls](https://pypi.org/project/hamkit-uls/) | ![PyPI - Version](https://img.shields.io/pypi/v/hamkit-uls.svg) | Tools for working with local copies of the FCC Universal Licensing System database, (e.g., to look up call signs, etc.) |
| [hamkit-repeaterbook](https://pypi.org/project/hamkit-repeaterbook/) | ![PyPI - Version](https://img.shields.io/pypi/v/hamkit-repeaterbook.svg) | Tools for working with data exported from RepeaterBook (e.g., to save a database of local repeaters, etc.) |

## In development

- [hamkit-aprs](packages/aprs/README.md): typed APRS parsing, validation and
composition foundation, with byte-preserving handling of unsupported payloads.
The [packet cookbook](packages/aprs/README.md#find-an-example) shows Python
and JSON construction for every modeled family, with wire output where a
codec exists; the [coverage matrix](packages/aprs/docs/API_COVERAGE.md)
distinguishes models from implemented codecs.

## License

`hamkit` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
21 changes: 21 additions & 0 deletions packages/aprs/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Adam Fourney

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading