cjm-capability-primitives
The dep-light primitives library for the cjm capability ecosystem — the shared cross-task result DTOs (data nouns) that tool capabilities emit and task adapters, workflow cores, and the composition layer all consume.
Modules
cjm_capability_primitives.forced_alignment— Standardized word-level forced-alignment DTOs — the data noun forced-alignment tool capabilities emit and task adapters / workflow cores consume, wire-registered so results cross the worker boundary typed.cjm_capability_primitives.media_processing— Standardized result DTOs for the media-processing task — the data nouns media-processing tool capabilities (ffmpeg today) emit and the multi-method task adapter / workflow cores consume, wire-registered so results cross the worker boundary typed.cjm_capability_primitives.monitoring— Standardized telemetry DTOs for the system-monitor capability — the data nouns a monitor tool capability emits (host CPU/RAM + aggregated GPU stats, and per-process GPU usage) and the substrate scheduler consumes for resource-derived admission + GPU subtree attribution.cjm_capability_primitives.sentence_segmentation— Standardized result DTO for the sentence-segmentation task — the data noun sentence-segmentation tool capabilities emit and task adapters / workflow cores consume, wire-registered so results cross the worker boundary typed.cjm_capability_primitives.source_separation— Standardized result DTO for the source-separation (audio-preprocessing) task — the data noun source-separation tool capabilities emit and task adapters / workflow cores consume, wire-registered so results cross the worker boundary typed.cjm_capability_primitives.speaker_diarization— Standardized result DTO for the speaker-diarization task — the data noun diarization tool capabilities emit and task adapters / workflow cores consume, wire-registered so results cross the worker boundary typed. Turns are ANONYMOUS clusters (SPEAKER_00, ...) — mapping clusters to named identities is the correction TUI's assignment lane (human judgment), never this DTO's job (DEC 44afb2df).cjm_capability_primitives.transcription— Standardized result DTO for the transcription task — the data noun tool capabilities emit and task adapters / workflow cores consume, wire-registered so results cross the worker boundary typed.cjm_capability_primitives.vad— Standardized result DTO for the voice-activity-detection task — the data noun VAD tool capabilities emit and task adapters / workflow cores consume, wire-registered so results cross the worker boundary typed.
API
cjm_capability_primitives.forced_alignment
ForcedAlignItemclass — A single word-level alignment result.ForcedAlignResultclass — Standardized output for all forced alignment capabilities.
cjm_capability_primitives.media_processing
MediaArtifactResultclass — A single produced audio artifact (theconvert/extract_audiooutput).MediaMetadataclass — Probed metadata for a media file (theget_inforesult) — inline data, no artifact.MediaSegmentclass — One produced segment file from asegment_audiobatch cut.MediaSegmentationResultclass — A BATCH of produced segment files (thesegment_audiooutput).
cjm_capability_primitives.monitoring
MonitorToolProtocolclass — The native surface a system-monitor tool capability exposes.ProcessStatsclass — Per-process GPU usage, reported by a monitor'slist_processes(GPU subtree attribution).SystemStatsclass — Standardized snapshot of host + GPU resources (the scheduler's admission input).
cjm_capability_primitives.sentence_segmentation
SentenceSegmentationResultclass — Standardized output for sentence-segmentation capabilities.SentenceSpanclass — One sentence's character span over the ORIGINAL (punctuated) text —
cjm_capability_primitives.source_separation
SourceSeparationResultclass — Standardized output for source-separation (audio-preprocessing) capabilities.
cjm_capability_primitives.speaker_diarization
SpeakerDiarizationResultclass — Standardized output for speaker-diarization capabilities.SpeakerTurnclass — One diarized speech turn: a source-coordinate time span bound to anload_turns_artifactfunction — Load a source's turns artifact;None= no diarization predictions yet.turns_artifact_pathfunction — Source-keyed artifact path:<root>/diarization/<algo>-<hexdigest>.json.write_turns_artifactfunction — Persist the source-keyed turns artifact (latest-wins per source).
cjm_capability_primitives.transcription
TranscriptionResultclass — Standardized output for all transcription plugins.
cjm_capability_primitives.vad
TimeRangeclass — A temporal segment within an audio source (the VAD speech/silence span).VADResultclass — Standardized output for voice-activity-detection capabilities.
Dependencies
Depends on: cjm-substrate
Used by: cjm-capability-demucs, cjm-capability-ffmpeg, cjm-capability-monitor-nvidia, cjm-capability-pyannote, cjm-capability-pysbd, cjm-capability-qwen3-forced-aligner, cjm-capability-silero-vad, cjm-capability-voxtral-hf, cjm-capability-whisper, cjm-sentence-segmentation-adapter-interface, cjm-speaker-diarization-adapter-interface, cjm-transcript-correction-tui, cjm-transcript-decomp-core, cjm-transcription-adapter-interface, cjm-transcription-core
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cjm_capability_primitives-0.0.12.tar.gz.
File metadata
- Download URL: cjm_capability_primitives-0.0.12.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc32aebdfee4fc67fdb62c2a469971545bf90bdda42638cea59f63282b6fd135
|
|
| MD5 |
270a945c1080109c0816975a8b75d368
|
|
| BLAKE2b-256 |
da2edde8e73db33d785601567cc6582f9a9655fc6cfa187b294392aa782356f6
|
File details
Details for the file cjm_capability_primitives-0.0.12-py3-none-any.whl.
File metadata
- Download URL: cjm_capability_primitives-0.0.12-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dba3a8ab49ee85a9854e3b1667d53cff8c66d2955f83804de666a9a704c43c17
|
|
| MD5 |
bc2b67d385206a061caef32cdb180cdd
|
|
| BLAKE2b-256 |
62dd1c9a9cdac8871042496de2ba62f3502b1ab2c560a24db0cf9f437f19ebc4
|