Skip to main content

cjm-speaker-diarization-adapter-interface

Adapter interface for speaker-diarization capabilities — the speaker_diarization task-channel contract (audio → typed SpeakerTurn/SpeakerDiarizationResult) that capability libs implement and workflow cores consume; the generic adapter owns the SQLite cache bookends (content-addressed, speaker-count hints fold into the config hash).

Modules

  • cjm_speaker_diarization_adapter_interface.__init__
  • cjm_speaker_diarization_adapter_interface.adapter — The typed speaker-diarization task contract — the SpeakerDiarizationAdapter ABC + the SpeakerDiarizationToolProtocol structural contract (capability-unit Option C; session-D DECs 18d7de80 + d6df3a8e).
  • cjm_speaker_diarization_adapter_interface.generic — The generic (tool-agnostic) speaker-diarization adapter — cache-check, invoke the bound tool's pure-compute diarize, persist. Reused across every tool capability satisfying SpeakerDiarizationToolProtocol, exactly as GenericVADAdapter is reused across VAD tools.
  • cjm_speaker_diarization_adapter_interface.storage — Standardized SQLite storage for speaker-diarization results with content hashing.

API

cjm_speaker_diarization_adapter_interface.adapter

  • SpeakerDiarizationAdapter class — Typed speaker-diarization task adapter: source audio path in,
  • SpeakerDiarizationToolProtocol class — Structural contract for speaker-diarization tool capabilities.

cjm_speaker_diarization_adapter_interface.generic

  • GenericSpeakerDiarizationAdapter class — Generic speaker-diarization adapter: cache-check -> pure-compute tool -> persist.

cjm_speaker_diarization_adapter_interface.storage

  • SpeakerDiarizationRow class — A single row from the speaker_diarization_results table.
  • SpeakerDiarizationStorage class — Standardized SQLite storage for speaker-diarization results.

Dependencies

Depends on: cjm-capability-primitives, cjm-substrate Used by: cjm-capability-pyannote

Release files for cjm-speaker-diarization-adapter-interface 0.0.1

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-speaker-diarization-adapter-interface 0.0.1
File Size Uploaded
cjm_speaker_diarization_adapter_interface-0.0.1.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cjm-speaker-diarization-adapter-interface 0.0.1
File Interpreter ABI Platform
cjm_speaker_diarization_adapter_interface-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 26.6 kB

Release files / cjm_speaker_diarization_adapter_interface-0.0.1.tar.gz

Download URL cjm_speaker_diarization_adapter_interface-0.0.1.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e79ba948b50402d258ffd912bd8f21c6dc3e815cb5c7c4170ca6dd3a43e691f5
BLAKE2b-256 checksum
How to use checksums
2e814282feff32e64b0259a14d3e971e5dd4a038a70590eeca59634e94bedc44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / cjm_speaker_diarization_adapter_interface-0.0.1-py3-none-any.whl

Download URL cjm_speaker_diarization_adapter_interface-0.0.1-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5f02fd6bd351e1a0d0386aeb895081bd7d58221104d77e944cbb854f42a0c48
BLAKE2b-256 checksum
How to use checksums
2e647a2123c7d842b899358cd77d7147319370483641ba0a5878a6267621234f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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