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 — theSpeakerDiarizationAdapterABC + theSpeakerDiarizationToolProtocolstructural 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-computediarize, persist. Reused across every tool capability satisfyingSpeakerDiarizationToolProtocol, exactly asGenericVADAdapteris 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
SpeakerDiarizationAdapterclass — Typed speaker-diarization task adapter: source audio path in,SpeakerDiarizationToolProtocolclass — Structural contract for speaker-diarization tool capabilities.
cjm_speaker_diarization_adapter_interface.generic
GenericSpeakerDiarizationAdapterclass — Generic speaker-diarization adapter: cache-check -> pure-compute tool -> persist.
cjm_speaker_diarization_adapter_interface.storage
SpeakerDiarizationRowclass — A single row from the speaker_diarization_results table.SpeakerDiarizationStorageclass — 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)
| File | Size | Uploaded | |
|---|---|---|---|
| cjm_speaker_diarization_adapter_interface-0.0.1.tar.gz | 13.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|