The dep-light primitives library for the cjm capability ecosystem — defines the shared cross-task result DTOs (data nouns) that tool capabilities emit and task adapters, workflow cores, and the composition layer all consume, so a pure-compute tool capability depends only on its task's data noun, never on the adapter machinery.
Project description
cjm-capability-primitives
Install
pip install cjm_capability_primitives
Project Structure
nbs/
└── transcription.ipynb # 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.
Total: 1 notebook
Module Dependencies
graph LR
transcription["transcription<br/>Transcription Result"]
No cross-module dependencies detected.
CLI Reference
No CLI commands found in this project.
Module Overview
Detailed documentation for each module in the project:
Transcription Result (transcription.ipynb)
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.
Import
from cjm_capability_primitives.transcription import (
TranscriptionResult
)
Classes
@dataclass
class TranscriptionResult:
"Standardized output for all transcription plugins."
text: str # The transcribed text
confidence: Optional[float] # Overall confidence (0.0 to 1.0)
segments: Optional[List[Dict[str, Any]]] # Timestamped segments
metadata: Dict[str, Any] = field(...) # Additional metadata
Project details
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.3.tar.gz.
File metadata
- Download URL: cjm_capability_primitives-0.0.3.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a07b50df1bb305dfa81152aee9dca4da3e208fd833e6fb76ff0cd9205fae879
|
|
| MD5 |
32e6efec58371da4cecfb49944d94fe9
|
|
| BLAKE2b-256 |
2c9a184320c6729799cea493b881513f985c4dd4a188ef19041970c2095c7dd8
|
File details
Details for the file cjm_capability_primitives-0.0.3-py3-none-any.whl.
File metadata
- Download URL: cjm_capability_primitives-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e02f3765a3d310f84038df911680315ed53ad00a7ca3a572992081fbc2766065
|
|
| MD5 |
186e4cadc6f1f29946137bdd188cadf3
|
|
| BLAKE2b-256 |
cc5ee10182aeb284ae5e25b89d04fcb726db1593155a8004dc682d32279b39aa
|