star-telemetry 0.2.7
CCSDS AOS/TM transfer frame deframer and Space Packet reassembler
Public state: Released & Verified. The registry label is RELEASED. What the states mean →
Apache-2.0 Released & Verified
Summary
CCSDS AOS v2 / TM v1 transfer-frame deframer and Space Packet reassembler, with CUC time decoding via star-timescales.
Run in your browser
Edit the code and press Run (or Ctrl+Enter). Python runs in your browser with this package's published code. The first run downloads Python once (about 12 MB).
Runs in the browser: 92 of 93 tests pass in the browser's Python (Pyodide 314.0.7, Python 3.14.2), measured on 20 October 2026. The other test starts a separate program or needs an outside reference library, which a browser cannot do.
Use it on your computer
No account and no GitHub needed. Download, then install with one command:
Download also: star-timescales (install them together).
python -m pip install star_timescales-0.2.0-py3-none-any.whl star_telemetry-0.2.7-py3-none-any.whlIn Python: import star_telemetry
Cite it, and its bill of materials
For a paper, a report or a supplier file: the citation in two formats, and the software bill of materials (SBOM) in the two standard formats, with the fingerprint of the wheel.
@software{cavazzini_star_telemetry_0_2_7,
author = {Cavazzini, Andrea},
title = {{star-telemetry}: CCSDS AOS/TM transfer frame deframer and Space Packet reassembler},
version = {0.2.7},
year = {2026},
url = {https://andrea07072000.github.io/S.T.A.R.-/software/star_telemetry/},
note = {Apache-2.0. Source: https://github.com/Andrea07072000/S.T.A.R.-, commit dc09f61d}
}
For developers
Install directly from the public repository:
python -m pip install "star-timescales @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109" "star-telemetry @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/star_telemetry"
Technical sheet
Requirements
- R1
CcsdsTransferFrameEngine(frame_length, has_fecf).parse_frame(bytes) -> (header, data_field): TFVN, SCID, VCID, VC frame count, replay flag, first header pointer, FECF (CRC-16, poly 0x1021, init 0xFFFF) validity. - R2
process_raw_stream(bytes)reassembles Space Packets across frames per virtual channel, including spanning packets. A packet is delivered in the frame that completes it. After a lost frame, the rest of the interrupted packet is discarded up to the next first header pointer. A pending packet whose size disagrees with its declared length is dropped, never cut to size. - R3 A frame of the wrong length is rejected with
ValueError; a corrupted frame is reported (fecf_valid = False), never silently accepted.
Limits (what is not claimed)
TC frames, USLP, frame synchronisation/ASM search, Reed-Solomon, the F Prime flight AosFramer component as oracle (test harness only), any flight qualification.
Release gate
Computed by the registry from the result files, with the same function that decides RELEASED.
- Mutation score, latest measure of each module (needs at least 0.850)
- engine.py 0.953 (2026-10-07)
- Independent implementations written by others (needs 2)
- ccsdspy (astropy), IAU / Astropy ccsdspy parser, Sat-RS / spacepackets library
- Also compared with, not counted
- S.T.A.R.'s own re-derivations: S.T.A.R. native engine, star_telemetry (S.T.A.R.)
- Result
- Released & Verified
Evidence in the registry
| Check | Status | Recorded | What was observed |
|---|---|---|---|
| Clean install from the release tag | VERIFIED | 2026-10-07 | pytest outside the tree: 95 passed in 1.85s |
| Clean install from the release tag | VERIFIED | 2026-10-05 | pytest outside the tree: 61 passed in 1.62s |
| Clean install from the release tag | VERIFIED | 2026-10-05 | pytest outside the tree: 44 passed, 1 skipped in 1.52s |
| Clean install from the release tag | VERIFIED | 2026-10-05 | pytest outside the tree: 44 passed, 1 skipped in 0.91s |
| Mutation testing | PARTIAL | 2026-10-05 | 244/295 = 0.8283 |
| Benchmark | PARTIAL | 2026-10-04 | 1718 frames/s for parse_frame |
| Clean install from the release tag | VERIFIED | 2026-10-04 | pytest outside the tree: 36 passed, 1 skipped in 0.99s |
| Clean install from the release tag | VERIFIED | 2026-10-04 | pytest outside the tree: 28 passed in 1.20s |
| Mutation testing | PARTIAL | 2026-10-04 | 234/289 = 0.811 |
| Mutation testing | PARTIAL | 2026-10-04 | 176/257 = 0.6873 |
| Mutation testing | PARTIAL | 2026-10-04 | 125/250 = 0.5 |
| Review | VERIFIED | 2026-10-03 | Re-execution of bench.xc-005 reproduces the committed evidence bundles |
| Cross-check with independent libraries | VERIFIED | 2026-10-03 | CCSDS Space Packet primary header parsing across star_telemetry, spacepackets, ccsdspy agree exactly on canonical and Europa Clipper packets |
| Unit tests | VERIFIED | 2026-10-03 | pass |
| Review | VERIFIED | 2026-10-03 | Requirements R1-R3, documented API, CUC time via declared dependency, oracle frames reproducible from upstream F Prime |
| Review | VERIFIED | 2026-10-03 | Malformed frames rejected |
| Reference value | VERIFIED | 2026-10-03 | 5/5 native C++ frames decoded bit-exact (scid=68 [ComCfg::SpacecraftId], vcid=7/0/2, frame_size=256/254, spanning packet reconstructed across 2 frames, CRC-16 CCITT verified) |
| Unit tests | VERIFIED | 2026-10-03 | 237/237 changed FECF-protected frames rejected; field decoding identical to an independent C implementation on all 305 frames |
| Benchmark | VERIFIED | 2026-10-03 | 1030 |
| Clean install from the release tag | VERIFIED | 2026-10-03 | without star-timescales: pip refuses (no matching distribution) = dependency is real and declared; with it: 19/19 tests pass in a temp dir (incl. ccsdspy oracle and F Prime native frames) |
| Cross-check with independent libraries | VERIFIED | 2026-10-03 | packet-by-packet identical to ccsdspy |
| Reference value | PARTIAL | 2026-10-03 | self-consistency only (encoder and decoder by the same author) |
Fingerprints (SHA-256)
| star_telemetry-0.2.7-py3-none-any.whl | 8b21b0c0d275e59ab603b58a75fbb8b967459e7f66db88e171ca54db32d2939a |
| star_telemetry-0.2.7-source.zip | 6c2c9715dcb681703b6686af569ef61dc532fe6bf246e39be4d9aa9de1da810c |
