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.__init__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-core, cjm-transcript-decomp-core, cjm-transcription-adapter-interface, cjm-transcription-core, cjm-vad-adapter-interface
Metadata
Release files for cjm-capability-primitives 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cjm_capability_primitives-0.0.13.tar.gz | 19.3 kB | Without provenance | Details for cjm_capability_primitives-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cjm_capability_primitives-0.0.13-py3-none-any.whl | Python 3 | none | any | Details for cjm_capability_primitives-0.0.13-py3-none-any.whl |
Total release size: 38.5 kB
Release files / cjm_capability_primitives-0.0.13.tar.gz
| Download URL | cjm_capability_primitives-0.0.13.tar.gz |
|---|---|
| Size | 19.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1283aae6c2f1644cfab38a88745c98ab96064a750735879975018c10f50db947
|
|
BLAKE2b-256 checksum How to use checksums |
4e748c33d865fbda061029d2cf8db381b9e194a6be13ad9f94a6e35fc7ea046e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / cjm_capability_primitives-0.0.13-py3-none-any.whl
| Download URL | cjm_capability_primitives-0.0.13-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e740b8bc1a391e38c4c71cb39412e513f09700a47e7e280280e562c54115d4f
|
|
BLAKE2b-256 checksum How to use checksums |
2c8cc076a5c3900ad91b0e41adb182bcbc76e27a6821fc34a76a7e94c0694444
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for cjm-capability-primitives 0.0.13
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.