Skip to main content

cjm-substrate-tui-kit

No purpose recorded on-graph yet — author it with assert ee2dd69f-1e52-5079-a6e6-a529cec821e7 purpose "…" (or by the repo's entity key).

Modules

  • cjm_substrate_tui_kit
  • cjm_substrate_tui_kit.audio — VAD-chunk audio playback for TUI frontends — a persistent-output-stream
  • cjm_substrate_tui_kit.form — Manifest-driven config form model — the tui-kit keystone (work item
  • cjm_substrate_tui_kit.repaint — Repaint coalescing for event-driven TUIs — throttle paint bursts to a
  • cjm_substrate_tui_kit.state — JSON sidecar for TUI view-state — settings and bookmarks that persist
  • cjm_substrate_tui_kit.viewport — Cursor-windowed viewport math for flat list panes — the tui-kit's first

API

cjm_substrate_tui_kit.audio

  • ChunkPlayer class — Persistent-output-stream VAD-chunk player — the focus-walk auto-play engine.
  • load_chunk function — Read one VAD chunk's samples from the model-input WAV — frame-sliced, sample-accurate.
  • stretch function — Pitch-preserving time-stretch (WSOLA, numpy-only) — the playback-speed engine.

cjm_substrate_tui_kit.form

  • ConfigField class — One schema property as an editable form row.
  • ConfigForm class — A capability's editable config, derived from its manifest config_schema.

cjm_substrate_tui_kit.repaint

  • RepaintThrottle class — Leading-edge paint + trailing-tick flush inside a fixed window.

cjm_substrate_tui_kit.state

  • SidecarState class — One JSON sidecar file: never-raise load, merge-on-save, best-effort write.

cjm_substrate_tui_kit.viewport

  • tail function — Clamp a string to width keeping its END.
  • visible_slice function — Clamped cursor-centered window over a flat list: paint rows[start:end].

Dependencies

Depends on: numpy, sounddevice, soundfile Used by: cjm-transcript-correction-tui, cjm-transcript-decomp-tui, cjm-transcription-tui, cjm-workflow-hub-tui

Metadata

Release files for cjm-substrate-tui-kit 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cjm-substrate-tui-kit 0.0.2
File Size Uploaded Provenance
cjm_substrate_tui_kit-0.0.2.tar.gz 14.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cjm-substrate-tui-kit 0.0.2
File Interpreter ABI Platform
cjm_substrate_tui_kit-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 27.0 kB

Release files / cjm_substrate_tui_kit-0.0.2.tar.gz

Download URL cjm_substrate_tui_kit-0.0.2.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
108f668891147d8f8d74c2c5c7b2e0548f87a6c5ab5d843a9b51e0d32f8f6813
BLAKE2b-256 checksum
How to use checksums
0209795c64a10ebcc9336b256af15461ce53851eed603b9856931c1d9bdc0b5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / cjm_substrate_tui_kit-0.0.2-py3-none-any.whl

Download URL cjm_substrate_tui_kit-0.0.2-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fe4d3deb33f890a6156eb31250d9a5ef8360585b7af4477f1b5db3c061120be
BLAKE2b-256 checksum
How to use checksums
86d0964e8bafbea838d59b3779e78bbdf70e1cc7113c8a33b7be92122457c073
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for cjm-substrate-tui-kit 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page