cjm-transcript-correction-qt 0.0.1__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.
- cjm_transcript_correction_qt-0.0.1/PKG-INFO +75 -0
- cjm_transcript_correction_qt-0.0.1/README.md +57 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt/__init__.py +11 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt/app.py +2151 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt/cli.py +36 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt/panes.py +534 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt/player.py +89 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt/session.py +169 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt.egg-info/PKG-INFO +75 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt.egg-info/SOURCES.txt +16 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt.egg-info/dependency_links.txt +1 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt.egg-info/entry_points.txt +2 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt.egg-info/requires.txt +6 -0
- cjm_transcript_correction_qt-0.0.1/cjm_transcript_correction_qt.egg-info/top_level.txt +1 -0
- cjm_transcript_correction_qt-0.0.1/pyproject.toml +23 -0
- cjm_transcript_correction_qt-0.0.1/setup.cfg +4 -0
- cjm_transcript_correction_qt-0.0.1/tests/test_panes.py +245 -0
- cjm_transcript_correction_qt-0.0.1/tests/test_session.py +187 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cjm-transcript-correction-qt
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Qt shell for the transcript-correction workbench — the third workflow TUI on the PySide6 lane (DEC c4b0d6e5, a direct port): the same center-pinned segment walk, multi-lane vocabulary, commit-then-echo gestures, and sidecar view state as cjm-transcript-correction-tui, whose pure spine/state modules and CLI ladder it imports; the graph stack and SpineView seat run behind a private asyncio loop thread, and both audio decode paths ride SpanPlayer/QMediaPlayer. Born on-graph.
|
|
5
|
+
Author-email: "Christian J. Mills" <9126128+cj-mills@users.noreply.github.com>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Repository, https://github.com/cj-mills/cjm-transcript-correction-qt
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
10
|
+
Requires-Python: >=3.12
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: cjm-transcript-correction-tui>=0.0.4
|
|
13
|
+
Requires-Dist: cjm-transcript-correction-core>=0.0.5
|
|
14
|
+
Requires-Dist: cjm-substrate>=0.0.60
|
|
15
|
+
Requires-Dist: cjm-substrate-tui-kit>=0.0.2
|
|
16
|
+
Requires-Dist: cjm-substrate-qt-kit>=0.0.1
|
|
17
|
+
Requires-Dist: PySide6
|
|
18
|
+
|
|
19
|
+
# cjm-transcript-correction-qt
|
|
20
|
+
|
|
21
|
+
<!-- generated from the context graph by `cjm-context-graph readme` — do not edit by hand; edit the graph (the urge to hand-edit = move it on-graph) -->
|
|
22
|
+
|
|
23
|
+
Qt shell for the transcript-correction workbench — the third workflow TUI migrated to the PySide6 lane (DEC c4b0d6e5 as amended by 2030586d; architecture 0f11683d — a DIRECT PORT). Imports the pure spine of cjm-transcript-correction-tui (SpineView + local-echo mutators, every gesture planner, the sidecar state module) and shares its CLI ladder (build_parser/resolve_settings), so both shells resolve the same stack and record indistinguishable corrections. The graph stack + JobQueue + SpineView seat run under Qt via CorrectionShellSession — a kit LoopThreadSession whose gesture lock serializes commit coroutines to completion (the donor's message-queue semantics); every gesture composes core commit calls + the local echo into one Future resolving through queued Signals. Paint = pure span-line builders (panes.py, the net-new extraction of the donor's self-bound rich.Text methods) materialized as HTML on a monospace QTextBrowser, center-pin math in character cells. Audio = SpanPlayer on QMediaPlayer for BOTH decode paths: model-input WAV chunk spans and the ORIGINAL media at source coordinates (seams, synthetic inserts, proposal auditions, overlay spans) — the sounddevice/WSOLA/ffmpeg-pipe stack retired on the lane.
|
|
24
|
+
|
|
25
|
+
## Modules
|
|
26
|
+
|
|
27
|
+
- **`cjm_transcript_correction_qt`** — Qt shell for the transcript-correction workbench — a DIRECT PORT of
|
|
28
|
+
- **`cjm_transcript_correction_qt.app`** — The Qt correction workbench: the same center-pinned segment walk, lane
|
|
29
|
+
- **`cjm_transcript_correction_qt.cli`** — Console-script driver for the Qt shell: the SAME argument surface and
|
|
30
|
+
- **`cjm_transcript_correction_qt.panes`** — Pure paint builders for the correction Qt shell — the Textual paint logic,
|
|
31
|
+
- **`cjm_transcript_correction_qt.player`** — Span playback via QMediaPlayer — the Qt lane's audio answer (DEC dcf8a712,
|
|
32
|
+
- **`cjm_transcript_correction_qt.session`** — The correction shell's jobs seam: graph stack + JobQueue + the SpineView
|
|
33
|
+
|
|
34
|
+
## API
|
|
35
|
+
|
|
36
|
+
### `cjm_transcript_correction_qt.app`
|
|
37
|
+
|
|
38
|
+
- `CorrectionWindow` _class_ — The correction loop under Qt — one window, the donor's stages/lanes.
|
|
39
|
+
|
|
40
|
+
### `cjm_transcript_correction_qt.cli`
|
|
41
|
+
|
|
42
|
+
- `main` _function_ — Resolve the shared launch surface, run the Qt correction window.
|
|
43
|
+
|
|
44
|
+
### `cjm_transcript_correction_qt.panes`
|
|
45
|
+
|
|
46
|
+
- `annotate_body` _function_ — The focused card's word-level paint in the annotate lane: the word
|
|
47
|
+
- `card_lines` _function_ — One segment card as styled span lines + the offset of its first body
|
|
48
|
+
- `cluster_style` _function_ — Stable per-cluster tint (dim — a proposal reads quieter than an
|
|
49
|
+
- `entity_name` _function_ — Display name for an entity id; provisional handles read with a leading
|
|
50
|
+
- `flywheel_lines` _function_ — The cross-source flywheel page paint (DEC 82c463fe): dataset manifests
|
|
51
|
+
- `flywheel_status` _function_
|
|
52
|
+
- `folded` _function_ — Is this position folded away right now? (z toggle; never in the
|
|
53
|
+
- `gate_chip` _function_ — The status-strip gate chip: empty when never asserted (the quiet
|
|
54
|
+
- `gutter_w` _function_ — The source-wide gutter width: sized ONCE from the last segment (the
|
|
55
|
+
- `lines_to_html` _function_ — Materialize span lines as one <pre> block for a monospace
|
|
56
|
+
- `picker_lines` _function_ — The 2ce81638 discovery stage: the graph's Sources with correction
|
|
57
|
+
- `picker_status` _function_
|
|
58
|
+
- `render_rows` _function_ — Center-pinned paint: the focused card's first body line pinned to the
|
|
59
|
+
- `selection_range` _function_ — The selected token range (inclusive), clamped: the v-anchor..cursor
|
|
60
|
+
- `spine_picker_lines` _function_ — The spine picker (DEC f1024568): one row per coexisting SKELETON.
|
|
61
|
+
- `status_line` _function_ — The unified status strip (DEC cc55a7b5): lane badge + purpose badge +
|
|
62
|
+
- `wordless_insert` _function_ — A certified-wordless inserted chunk: wordless CLASS and empty text
|
|
63
|
+
- `wrap_spans` _function_ — Word-wrap styled spans at a cell width (the Textual Text.wrap stand-in):
|
|
64
|
+
|
|
65
|
+
### `cjm_transcript_correction_qt.player`
|
|
66
|
+
|
|
67
|
+
- `SpanPlayer` _class_ — Play/stop one file span at a time; replay gestures re-enter, escape stops.
|
|
68
|
+
|
|
69
|
+
### `cjm_transcript_correction_qt.session`
|
|
70
|
+
|
|
71
|
+
- `CorrectionShellSession` _class_ — The loop-thread seat for the correction shell.
|
|
72
|
+
|
|
73
|
+
## Dependencies
|
|
74
|
+
|
|
75
|
+
**Depends on:** `PySide6`, `cjm-substrate`, `cjm-substrate-qt-kit`, `cjm-substrate-tui-kit`, `cjm-transcript-correction-core`, `cjm-transcript-correction-tui`
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# cjm-transcript-correction-qt
|
|
2
|
+
|
|
3
|
+
<!-- generated from the context graph by `cjm-context-graph readme` — do not edit by hand; edit the graph (the urge to hand-edit = move it on-graph) -->
|
|
4
|
+
|
|
5
|
+
Qt shell for the transcript-correction workbench — the third workflow TUI migrated to the PySide6 lane (DEC c4b0d6e5 as amended by 2030586d; architecture 0f11683d — a DIRECT PORT). Imports the pure spine of cjm-transcript-correction-tui (SpineView + local-echo mutators, every gesture planner, the sidecar state module) and shares its CLI ladder (build_parser/resolve_settings), so both shells resolve the same stack and record indistinguishable corrections. The graph stack + JobQueue + SpineView seat run under Qt via CorrectionShellSession — a kit LoopThreadSession whose gesture lock serializes commit coroutines to completion (the donor's message-queue semantics); every gesture composes core commit calls + the local echo into one Future resolving through queued Signals. Paint = pure span-line builders (panes.py, the net-new extraction of the donor's self-bound rich.Text methods) materialized as HTML on a monospace QTextBrowser, center-pin math in character cells. Audio = SpanPlayer on QMediaPlayer for BOTH decode paths: model-input WAV chunk spans and the ORIGINAL media at source coordinates (seams, synthetic inserts, proposal auditions, overlay spans) — the sounddevice/WSOLA/ffmpeg-pipe stack retired on the lane.
|
|
6
|
+
|
|
7
|
+
## Modules
|
|
8
|
+
|
|
9
|
+
- **`cjm_transcript_correction_qt`** — Qt shell for the transcript-correction workbench — a DIRECT PORT of
|
|
10
|
+
- **`cjm_transcript_correction_qt.app`** — The Qt correction workbench: the same center-pinned segment walk, lane
|
|
11
|
+
- **`cjm_transcript_correction_qt.cli`** — Console-script driver for the Qt shell: the SAME argument surface and
|
|
12
|
+
- **`cjm_transcript_correction_qt.panes`** — Pure paint builders for the correction Qt shell — the Textual paint logic,
|
|
13
|
+
- **`cjm_transcript_correction_qt.player`** — Span playback via QMediaPlayer — the Qt lane's audio answer (DEC dcf8a712,
|
|
14
|
+
- **`cjm_transcript_correction_qt.session`** — The correction shell's jobs seam: graph stack + JobQueue + the SpineView
|
|
15
|
+
|
|
16
|
+
## API
|
|
17
|
+
|
|
18
|
+
### `cjm_transcript_correction_qt.app`
|
|
19
|
+
|
|
20
|
+
- `CorrectionWindow` _class_ — The correction loop under Qt — one window, the donor's stages/lanes.
|
|
21
|
+
|
|
22
|
+
### `cjm_transcript_correction_qt.cli`
|
|
23
|
+
|
|
24
|
+
- `main` _function_ — Resolve the shared launch surface, run the Qt correction window.
|
|
25
|
+
|
|
26
|
+
### `cjm_transcript_correction_qt.panes`
|
|
27
|
+
|
|
28
|
+
- `annotate_body` _function_ — The focused card's word-level paint in the annotate lane: the word
|
|
29
|
+
- `card_lines` _function_ — One segment card as styled span lines + the offset of its first body
|
|
30
|
+
- `cluster_style` _function_ — Stable per-cluster tint (dim — a proposal reads quieter than an
|
|
31
|
+
- `entity_name` _function_ — Display name for an entity id; provisional handles read with a leading
|
|
32
|
+
- `flywheel_lines` _function_ — The cross-source flywheel page paint (DEC 82c463fe): dataset manifests
|
|
33
|
+
- `flywheel_status` _function_
|
|
34
|
+
- `folded` _function_ — Is this position folded away right now? (z toggle; never in the
|
|
35
|
+
- `gate_chip` _function_ — The status-strip gate chip: empty when never asserted (the quiet
|
|
36
|
+
- `gutter_w` _function_ — The source-wide gutter width: sized ONCE from the last segment (the
|
|
37
|
+
- `lines_to_html` _function_ — Materialize span lines as one <pre> block for a monospace
|
|
38
|
+
- `picker_lines` _function_ — The 2ce81638 discovery stage: the graph's Sources with correction
|
|
39
|
+
- `picker_status` _function_
|
|
40
|
+
- `render_rows` _function_ — Center-pinned paint: the focused card's first body line pinned to the
|
|
41
|
+
- `selection_range` _function_ — The selected token range (inclusive), clamped: the v-anchor..cursor
|
|
42
|
+
- `spine_picker_lines` _function_ — The spine picker (DEC f1024568): one row per coexisting SKELETON.
|
|
43
|
+
- `status_line` _function_ — The unified status strip (DEC cc55a7b5): lane badge + purpose badge +
|
|
44
|
+
- `wordless_insert` _function_ — A certified-wordless inserted chunk: wordless CLASS and empty text
|
|
45
|
+
- `wrap_spans` _function_ — Word-wrap styled spans at a cell width (the Textual Text.wrap stand-in):
|
|
46
|
+
|
|
47
|
+
### `cjm_transcript_correction_qt.player`
|
|
48
|
+
|
|
49
|
+
- `SpanPlayer` _class_ — Play/stop one file span at a time; replay gestures re-enter, escape stops.
|
|
50
|
+
|
|
51
|
+
### `cjm_transcript_correction_qt.session`
|
|
52
|
+
|
|
53
|
+
- `CorrectionShellSession` _class_ — The loop-thread seat for the correction shell.
|
|
54
|
+
|
|
55
|
+
## Dependencies
|
|
56
|
+
|
|
57
|
+
**Depends on:** `PySide6`, `cjm-substrate`, `cjm-substrate-qt-kit`, `cjm-substrate-tui-kit`, `cjm-transcript-correction-core`, `cjm-transcript-correction-tui`
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"""Qt shell for the transcript-correction workbench — a DIRECT PORT of
|
|
2
|
+
cjm-transcript-correction-tui's center-pinned correction loop onto PySide6
|
|
3
|
+
(DEC 0f11683d, the c4b0d6e5 lane's third migration): the same stages and
|
|
4
|
+
lanes, the same key vocabulary, the same commit-then-echo gestures over
|
|
5
|
+
correction-core's operation vocabulary; the graph stack + JobQueue +
|
|
6
|
+
SpineView seat live behind a private asyncio loop thread, and BOTH audio
|
|
7
|
+
decode paths ride SpanPlayer/QMediaPlayer (model-input WAV chunk spans and
|
|
8
|
+
original-media source spans — the sounddevice/WSOLA/ffmpeg-pipe stack
|
|
9
|
+
retires on this lane). Born on-graph."""
|
|
10
|
+
|
|
11
|
+
__version__ = "0.0.1"
|