yakbox 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of yakbox might be problematic. Click here for more details.

Files changed (406) hide show
  1. yakbox-0.3.0/LICENSE +21 -0
  2. yakbox-0.3.0/PKG-INFO +147 -0
  3. yakbox-0.3.0/README.md +94 -0
  4. yakbox-0.3.0/THIRD_PARTY_NOTICES.md +104 -0
  5. yakbox-0.3.0/constraints/chatterbox-security-overrides.txt +17 -0
  6. yakbox-0.3.0/docs/AUDIOBOOK_BUILD_SYSTEM_PLAN.md +3931 -0
  7. yakbox-0.3.0/docs/README.md +29 -0
  8. yakbox-0.3.0/docs/artifacts-and-releases.md +131 -0
  9. yakbox-0.3.0/docs/backends-and-speech.md +124 -0
  10. yakbox-0.3.0/docs/cloud-and-budgets.md +115 -0
  11. yakbox-0.3.0/docs/code-quality-review.md +262 -0
  12. yakbox-0.3.0/docs/code-quality.md +250 -0
  13. yakbox-0.3.0/docs/getting-started.md +112 -0
  14. yakbox-0.3.0/docs/installing-and-releasing.md +245 -0
  15. yakbox-0.3.0/docs/licensing.md +133 -0
  16. yakbox-0.3.0/docs/live-canaries.md +49 -0
  17. yakbox-0.3.0/docs/local-narration-qa.md +125 -0
  18. yakbox-0.3.0/docs/localized-repair.md +208 -0
  19. yakbox-0.3.0/docs/manifests-and-sources.md +479 -0
  20. yakbox-0.3.0/docs/migration.md +69 -0
  21. yakbox-0.3.0/docs/multi-model-speech-analysis-plan.md +2266 -0
  22. yakbox-0.3.0/docs/operations.md +174 -0
  23. yakbox-0.3.0/docs/python-api.md +326 -0
  24. yakbox-0.3.0/docs/short-utterance-synthesis.md +711 -0
  25. yakbox-0.3.0/docs/speech-analysis-migration.md +98 -0
  26. yakbox-0.3.0/docs/speech-analysis-qualification.md +496 -0
  27. yakbox-0.3.0/docs/whisper-and-short-audio.md +405 -0
  28. yakbox-0.3.0/examples/README.md +20 -0
  29. yakbox-0.3.0/examples/local-chatterbox/README.md +163 -0
  30. yakbox-0.3.0/examples/local-chatterbox/source/book.md +37 -0
  31. yakbox-0.3.0/examples/local-chatterbox/voice-quality.txt +1 -0
  32. yakbox-0.3.0/examples/local-chatterbox/voices/README.md +19 -0
  33. yakbox-0.3.0/examples/local-chatterbox/voices/amanda-friday.wav +0 -0
  34. yakbox-0.3.0/examples/local-chatterbox/voices/andy-minter.wav +0 -0
  35. yakbox-0.3.0/examples/local-chatterbox/voices/bill-boerst.wav +0 -0
  36. yakbox-0.3.0/examples/local-chatterbox/voices/bob-neufeld.wav +0 -0
  37. yakbox-0.3.0/examples/local-chatterbox/voices/caro-davy.wav +0 -0
  38. yakbox-0.3.0/examples/local-chatterbox/voices/cori-samuel.wav +0 -0
  39. yakbox-0.3.0/examples/local-chatterbox/voices/david-barnes.wav +0 -0
  40. yakbox-0.3.0/examples/local-chatterbox/voices/gregg-margarite.wav +0 -0
  41. yakbox-0.3.0/examples/local-chatterbox/voices/john-burlinson.wav +0 -0
  42. yakbox-0.3.0/examples/local-chatterbox/voices/john-greenman.wav +0 -0
  43. yakbox-0.3.0/examples/local-chatterbox/voices/karen-savage.wav +0 -0
  44. yakbox-0.3.0/examples/local-chatterbox/voices/kirsten-ferreri.wav +0 -0
  45. yakbox-0.3.0/examples/local-chatterbox/voices/laurie-anne-walden.wav +0 -0
  46. yakbox-0.3.0/examples/local-chatterbox/voices/lucy-burgoyne.wav +0 -0
  47. yakbox-0.3.0/examples/local-chatterbox/voices/mark-f-smith.wav +0 -0
  48. yakbox-0.3.0/examples/local-chatterbox/voices/mark-nelson.wav +0 -0
  49. yakbox-0.3.0/examples/local-chatterbox/voices/martin-geeson.wav +0 -0
  50. yakbox-0.3.0/examples/local-chatterbox/voices/mil-nicholson.wav +0 -0
  51. yakbox-0.3.0/examples/local-chatterbox/voices/nick-whitley.wav +0 -0
  52. yakbox-0.3.0/examples/local-chatterbox/voices/peter-yearsley.wav +0 -0
  53. yakbox-0.3.0/examples/local-chatterbox/voices/phil-chenevert.wav +0 -0
  54. yakbox-0.3.0/examples/local-chatterbox/voices/quality.toml +183 -0
  55. yakbox-0.3.0/examples/local-chatterbox/voices/ruth-golding.wav +0 -0
  56. yakbox-0.3.0/examples/local-chatterbox/voices/sibella-denton.wav +0 -0
  57. yakbox-0.3.0/examples/local-chatterbox/voices/simon-evers.wav +0 -0
  58. yakbox-0.3.0/examples/local-chatterbox/voices/source-text-overrides.toml +13 -0
  59. yakbox-0.3.0/examples/local-chatterbox/voices/tony-foster.wav +0 -0
  60. yakbox-0.3.0/examples/local-chatterbox/voices/voices.toml +452 -0
  61. yakbox-0.3.0/examples/local-chatterbox/yakbox.toml +644 -0
  62. yakbox-0.3.0/examples/m4b-release/README.md +15 -0
  63. yakbox-0.3.0/examples/m4b-release/source/book.md +7 -0
  64. yakbox-0.3.0/examples/m4b-release/yakbox.toml +27 -0
  65. yakbox-0.3.0/examples/multiple-voices/README.md +14 -0
  66. yakbox-0.3.0/examples/multiple-voices/source/book.md +3 -0
  67. yakbox-0.3.0/examples/multiple-voices/yakbox.toml +38 -0
  68. yakbox-0.3.0/examples/pronunciation-heavy/README.md +14 -0
  69. yakbox-0.3.0/examples/pronunciation-heavy/pronunciations.toml +34 -0
  70. yakbox-0.3.0/examples/pronunciation-heavy/source/book.md +13 -0
  71. yakbox-0.3.0/examples/pronunciation-heavy/yakbox.toml +27 -0
  72. yakbox-0.3.0/examples/resemble/README.md +16 -0
  73. yakbox-0.3.0/examples/resemble/source/book.md +3 -0
  74. yakbox-0.3.0/examples/resemble/yakbox.toml +33 -0
  75. yakbox-0.3.0/examples/selective-rebuild/README.md +26 -0
  76. yakbox-0.3.0/examples/selective-rebuild/source/book.md +11 -0
  77. yakbox-0.3.0/examples/selective-rebuild/yakbox.toml +30 -0
  78. yakbox-0.3.0/examples/tiny-book/README.md +25 -0
  79. yakbox-0.3.0/examples/tiny-book/pronunciations.toml +12 -0
  80. yakbox-0.3.0/examples/tiny-book/source/book.md +13 -0
  81. yakbox-0.3.0/examples/tiny-book/yakbox.toml +35 -0
  82. yakbox-0.3.0/pyproject.toml +345 -0
  83. yakbox-0.3.0/pyproject.toml.orig +319 -0
  84. yakbox-0.3.0/src/yakbox/__init__.py +27 -0
  85. yakbox-0.3.0/src/yakbox/__main__.py +4 -0
  86. yakbox-0.3.0/src/yakbox/_build.py +95 -0
  87. yakbox-0.3.0/src/yakbox/_build_commit.py +3 -0
  88. yakbox-0.3.0/src/yakbox/_files.py +159 -0
  89. yakbox-0.3.0/src/yakbox/_http.py +20 -0
  90. yakbox-0.3.0/src/yakbox/_version.py +20 -0
  91. yakbox-0.3.0/src/yakbox/audio/__init__.py +14 -0
  92. yakbox-0.3.0/src/yakbox/audio/assemble.py +209 -0
  93. yakbox-0.3.0/src/yakbox/audio/crop.py +628 -0
  94. yakbox-0.3.0/src/yakbox/audio/inspect.py +391 -0
  95. yakbox-0.3.0/src/yakbox/audio/master.py +188 -0
  96. yakbox-0.3.0/src/yakbox/audio/splice.py +505 -0
  97. yakbox-0.3.0/src/yakbox/audiobook/__init__.py +197 -0
  98. yakbox-0.3.0/src/yakbox/audiobook/artifacts.py +215 -0
  99. yakbox-0.3.0/src/yakbox/audiobook/assembly_manifest.py +349 -0
  100. yakbox-0.3.0/src/yakbox/audiobook/build.py +4698 -0
  101. yakbox-0.3.0/src/yakbox/audiobook/cache.py +292 -0
  102. yakbox-0.3.0/src/yakbox/audiobook/cleanup.py +560 -0
  103. yakbox-0.3.0/src/yakbox/audiobook/dialogue.py +278 -0
  104. yakbox-0.3.0/src/yakbox/audiobook/journal.py +157 -0
  105. yakbox-0.3.0/src/yakbox/audiobook/manifest.py +1892 -0
  106. yakbox-0.3.0/src/yakbox/audiobook/performance.py +208 -0
  107. yakbox-0.3.0/src/yakbox/audiobook/planner.py +999 -0
  108. yakbox-0.3.0/src/yakbox/audiobook/repair.py +1766 -0
  109. yakbox-0.3.0/src/yakbox/audiobook/repair_cache.py +205 -0
  110. yakbox-0.3.0/src/yakbox/audiobook/repairs.py +280 -0
  111. yakbox-0.3.0/src/yakbox/audiobook/shards.py +129 -0
  112. yakbox-0.3.0/src/yakbox/audiobook/sources.py +1498 -0
  113. yakbox-0.3.0/src/yakbox/cli.py +2910 -0
  114. yakbox-0.3.0/src/yakbox/cli_dialogue.py +188 -0
  115. yakbox-0.3.0/src/yakbox/cli_help.py +137 -0
  116. yakbox-0.3.0/src/yakbox/cli_migrate.py +150 -0
  117. yakbox-0.3.0/src/yakbox/cli_options.py +116 -0
  118. yakbox-0.3.0/src/yakbox/cli_repair.py +565 -0
  119. yakbox-0.3.0/src/yakbox/cli_runtime.py +188 -0
  120. yakbox-0.3.0/src/yakbox/cli_speech_review.py +177 -0
  121. yakbox-0.3.0/src/yakbox/cli_whisper.py +926 -0
  122. yakbox-0.3.0/src/yakbox/cli_workspace.py +148 -0
  123. yakbox-0.3.0/src/yakbox/cloud/__init__.py +71 -0
  124. yakbox-0.3.0/src/yakbox/cloud/batch.py +1180 -0
  125. yakbox-0.3.0/src/yakbox/cloud/client.py +759 -0
  126. yakbox-0.3.0/src/yakbox/cloud/errors.py +92 -0
  127. yakbox-0.3.0/src/yakbox/cloud/journal.py +162 -0
  128. yakbox-0.3.0/src/yakbox/cloud/models.py +157 -0
  129. yakbox-0.3.0/src/yakbox/cloud/output.py +82 -0
  130. yakbox-0.3.0/src/yakbox/cloud/rate_limit.py +24 -0
  131. yakbox-0.3.0/src/yakbox/cloud/retry.py +88 -0
  132. yakbox-0.3.0/src/yakbox/cloud/service.py +209 -0
  133. yakbox-0.3.0/src/yakbox/cloud/usage.py +159 -0
  134. yakbox-0.3.0/src/yakbox/config.py +73 -0
  135. yakbox-0.3.0/src/yakbox/contracts.py +27 -0
  136. yakbox-0.3.0/src/yakbox/credentials.py +45 -0
  137. yakbox-0.3.0/src/yakbox/data/speech-evaluation-protocol-v1.toml +40 -0
  138. yakbox-0.3.0/src/yakbox/data/speech-model-candidates-v1.toml +147 -0
  139. yakbox-0.3.0/src/yakbox/data/speech-model-registry-v1.toml +270 -0
  140. yakbox-0.3.0/src/yakbox/data/speech-performance-protocol-v1.toml +24 -0
  141. yakbox-0.3.0/src/yakbox/data/whisper-calibration-v1.toml +93 -0
  142. yakbox-0.3.0/src/yakbox/diagnostics/__init__.py +17 -0
  143. yakbox-0.3.0/src/yakbox/diagnostics/checks.py +645 -0
  144. yakbox-0.3.0/src/yakbox/diagnostics/models.py +65 -0
  145. yakbox-0.3.0/src/yakbox/errors.py +70 -0
  146. yakbox-0.3.0/src/yakbox/fingerprints.py +89 -0
  147. yakbox-0.3.0/src/yakbox/local.py +395 -0
  148. yakbox-0.3.0/src/yakbox/local_alignment.py +592 -0
  149. yakbox-0.3.0/src/yakbox/local_phoneme_alignment.py +436 -0
  150. yakbox-0.3.0/src/yakbox/local_runtime.py +1023 -0
  151. yakbox-0.3.0/src/yakbox/phoneme_models.py +132 -0
  152. yakbox-0.3.0/src/yakbox/phoneme_qa.py +78 -0
  153. yakbox-0.3.0/src/yakbox/py.typed +1 -0
  154. yakbox-0.3.0/src/yakbox/release_automation.py +321 -0
  155. yakbox-0.3.0/src/yakbox/release_preflight.py +441 -0
  156. yakbox-0.3.0/src/yakbox/runtimes/analysis-worker.pyz +0 -0
  157. yakbox-0.3.0/src/yakbox/runtimes/parakeet/pyproject.toml +14 -0
  158. yakbox-0.3.0/src/yakbox/runtimes/parakeet/runtime.toml +7 -0
  159. yakbox-0.3.0/src/yakbox/runtimes/parakeet/uv.lock +838 -0
  160. yakbox-0.3.0/src/yakbox/runtimes/qwen/pyproject.toml +14 -0
  161. yakbox-0.3.0/src/yakbox/runtimes/qwen/runtime.toml +7 -0
  162. yakbox-0.3.0/src/yakbox/runtimes/qwen/uv.lock +729 -0
  163. yakbox-0.3.0/src/yakbox/runtimes/whisper/pyproject.toml +14 -0
  164. yakbox-0.3.0/src/yakbox/runtimes/whisper/runtime.toml +7 -0
  165. yakbox-0.3.0/src/yakbox/runtimes/whisper/uv.lock +900 -0
  166. yakbox-0.3.0/src/yakbox/schemas/__init__.py +34 -0
  167. yakbox-0.3.0/src/yakbox/schemas/audio-inspection-v1.schema.json +23 -0
  168. yakbox-0.3.0/src/yakbox/schemas/audiobook-artifact-v1.schema.json +29 -0
  169. yakbox-0.3.0/src/yakbox/schemas/audiobook-assembly-v1.schema.json +61 -0
  170. yakbox-0.3.0/src/yakbox/schemas/audiobook-audition-v1.schema.json +16 -0
  171. yakbox-0.3.0/src/yakbox/schemas/audiobook-chapter-inspection-v1.schema.json +16 -0
  172. yakbox-0.3.0/src/yakbox/schemas/audiobook-cleanup-plan-v1.schema.json +23 -0
  173. yakbox-0.3.0/src/yakbox/schemas/audiobook-cleanup-report-v1.schema.json +17 -0
  174. yakbox-0.3.0/src/yakbox/schemas/audiobook-cleanup-v1.schema.json +13 -0
  175. yakbox-0.3.0/src/yakbox/schemas/audiobook-inventory-v1.schema.json +19 -0
  176. yakbox-0.3.0/src/yakbox/schemas/audiobook-journal-v1.schema.json +17 -0
  177. yakbox-0.3.0/src/yakbox/schemas/audiobook-manifest-migration-preview-v1.schema.json +49 -0
  178. yakbox-0.3.0/src/yakbox/schemas/audiobook-manifest-migration-v1.schema.json +42 -0
  179. yakbox-0.3.0/src/yakbox/schemas/audiobook-manifest-v1.schema.json +213 -0
  180. yakbox-0.3.0/src/yakbox/schemas/audiobook-manifest-v2.schema.json +136 -0
  181. yakbox-0.3.0/src/yakbox/schemas/audiobook-performance-v1.schema.json +135 -0
  182. yakbox-0.3.0/src/yakbox/schemas/audiobook-plan-v1.schema.json +149 -0
  183. yakbox-0.3.0/src/yakbox/schemas/audiobook-quarantine-v1.schema.json +19 -0
  184. yakbox-0.3.0/src/yakbox/schemas/audiobook-release-check-v1.schema.json +19 -0
  185. yakbox-0.3.0/src/yakbox/schemas/audiobook-release-v1.schema.json +27 -0
  186. yakbox-0.3.0/src/yakbox/schemas/audiobook-repair-batch-generation-v1.schema.json +17 -0
  187. yakbox-0.3.0/src/yakbox/schemas/audiobook-repair-batch-v1.schema.json +56 -0
  188. yakbox-0.3.0/src/yakbox/schemas/audiobook-repair-location-v1.schema.json +20 -0
  189. yakbox-0.3.0/src/yakbox/schemas/audiobook-repair-session-v1.schema.json +111 -0
  190. yakbox-0.3.0/src/yakbox/schemas/audiobook-repair-splice-v1.schema.json +36 -0
  191. yakbox-0.3.0/src/yakbox/schemas/audiobook-repairs-v1.schema.json +46 -0
  192. yakbox-0.3.0/src/yakbox/schemas/audiobook-run-v1.schema.json +18 -0
  193. yakbox-0.3.0/src/yakbox/schemas/audiobook-shard-v1.schema.json +20 -0
  194. yakbox-0.3.0/src/yakbox/schemas/batch-journal-v1.schema.json +18 -0
  195. yakbox-0.3.0/src/yakbox/schemas/batch-report-v1.schema.json +20 -0
  196. yakbox-0.3.0/src/yakbox/schemas/cli-output-v1.schema.json +91 -0
  197. yakbox-0.3.0/src/yakbox/schemas/dialogue-routes-v1.schema.json +29 -0
  198. yakbox-0.3.0/src/yakbox/schemas/dialogue-transformation-v1.schema.json +78 -0
  199. yakbox-0.3.0/src/yakbox/schemas/doctor-report-v1.schema.json +22 -0
  200. yakbox-0.3.0/src/yakbox/schemas/local-runtime-endpoint-v1.schema.json +19 -0
  201. yakbox-0.3.0/src/yakbox/schemas/local-runtime-status-v1.schema.json +23 -0
  202. yakbox-0.3.0/src/yakbox/schemas/phoneme-inspection-v1.schema.json +47 -0
  203. yakbox-0.3.0/src/yakbox/schemas/pronunciations-v2.schema.json +50 -0
  204. yakbox-0.3.0/src/yakbox/schemas/short-utterance-preflight-v1.schema.json +32 -0
  205. yakbox-0.3.0/src/yakbox/schemas/short-utterance-qa-v1.schema.json +24 -0
  206. yakbox-0.3.0/src/yakbox/schemas/short-utterance-test-v1.schema.json +21 -0
  207. yakbox-0.3.0/src/yakbox/schemas/speech-analysis-cutover-readiness-v1.schema.json +46 -0
  208. yakbox-0.3.0/src/yakbox/schemas/speech-analysis-evaluation-v1.schema.json +99 -0
  209. yakbox-0.3.0/src/yakbox/schemas/speech-analysis-independent-evidence-v1.schema.json +65 -0
  210. yakbox-0.3.0/src/yakbox/schemas/speech-analysis-preflight-v1.schema.json +34 -0
  211. yakbox-0.3.0/src/yakbox/schemas/speech-analysis-runtimes-v1.schema.json +51 -0
  212. yakbox-0.3.0/src/yakbox/schemas/speech-analysis-shadow-v1.schema.json +38 -0
  213. yakbox-0.3.0/src/yakbox/schemas/speech-chapter-verification-v1.schema.json +61 -0
  214. yakbox-0.3.0/src/yakbox/schemas/speech-consensus-v1.schema.json +74 -0
  215. yakbox-0.3.0/src/yakbox/schemas/speech-corpus-boundary-authoring-v1.schema.json +77 -0
  216. yakbox-0.3.0/src/yakbox/schemas/speech-corpus-boundary-truth-v1.schema.json +65 -0
  217. yakbox-0.3.0/src/yakbox/schemas/speech-corpus-partition-v1.schema.json +39 -0
  218. yakbox-0.3.0/src/yakbox/schemas/speech-corpus-source-archives-v1.schema.json +39 -0
  219. yakbox-0.3.0/src/yakbox/schemas/speech-corpus-source-inventory-v1.schema.json +49 -0
  220. yakbox-0.3.0/src/yakbox/schemas/speech-corpus-text-anchors-v1.schema.json +67 -0
  221. yakbox-0.3.0/src/yakbox/schemas/speech-corpus-text-sources-v1.schema.json +46 -0
  222. yakbox-0.3.0/src/yakbox/schemas/speech-corpus-transcript-agreement-v1.schema.json +67 -0
  223. yakbox-0.3.0/src/yakbox/schemas/speech-corpus-transcript-draft-v1.schema.json +60 -0
  224. yakbox-0.3.0/src/yakbox/schemas/speech-corpus-transcript-truth-v1.schema.json +40 -0
  225. yakbox-0.3.0/src/yakbox/schemas/speech-forced-alignment-v1.schema.json +100 -0
  226. yakbox-0.3.0/src/yakbox/schemas/speech-human-disposition-v1.schema.json +31 -0
  227. yakbox-0.3.0/src/yakbox/schemas/speech-human-review-candidate-v1.schema.json +40 -0
  228. yakbox-0.3.0/src/yakbox/schemas/speech-human-review-status-v1.schema.json +34 -0
  229. yakbox-0.3.0/src/yakbox/schemas/speech-join-verification-v1.schema.json +35 -0
  230. yakbox-0.3.0/src/yakbox/schemas/speech-performance-qualification-v1.schema.json +51 -0
  231. yakbox-0.3.0/src/yakbox/schemas/speech-qualification-review-v1.schema.json +45 -0
  232. yakbox-0.3.0/src/yakbox/schemas/speech-recognition-v1.schema.json +133 -0
  233. yakbox-0.3.0/src/yakbox/schemas/speech-release-evidence-snapshot-v1.schema.json +40 -0
  234. yakbox-0.3.0/src/yakbox/schemas/speech-release-verification-v1.schema.json +134 -0
  235. yakbox-0.3.0/src/yakbox/schemas/speech-repair-candidate-verification-v1.schema.json +61 -0
  236. yakbox-0.3.0/src/yakbox/schemas/speech-verification-v1.schema.json +27 -0
  237. yakbox-0.3.0/src/yakbox/schemas/voice-quality-v1.schema.json +83 -0
  238. yakbox-0.3.0/src/yakbox/schemas/whisper-calibration-v1.schema.json +27 -0
  239. yakbox-0.3.0/src/yakbox/schemas/whisper-changed-region-verification-v1.schema.json +44 -0
  240. yakbox-0.3.0/src/yakbox/schemas/whisper-inspection-v1.schema.json +29 -0
  241. yakbox-0.3.0/src/yakbox/schemas/whisper-join-inspection-v1.schema.json +65 -0
  242. yakbox-0.3.0/src/yakbox/schemas/whisper-manuscript-verification-v1.schema.json +36 -0
  243. yakbox-0.3.0/src/yakbox/short_testing.py +279 -0
  244. yakbox-0.3.0/src/yakbox/speech/__init__.py +65 -0
  245. yakbox-0.3.0/src/yakbox/speech/accelerator.py +52 -0
  246. yakbox-0.3.0/src/yakbox/speech/alignment.py +608 -0
  247. yakbox-0.3.0/src/yakbox/speech/analysis_adapters.py +1018 -0
  248. yakbox-0.3.0/src/yakbox/speech/analysis_attestation.py +292 -0
  249. yakbox-0.3.0/src/yakbox/speech/analysis_cache.py +592 -0
  250. yakbox-0.3.0/src/yakbox/speech/analysis_calibration.py +195 -0
  251. yakbox-0.3.0/src/yakbox/speech/analysis_capabilities.py +169 -0
  252. yakbox-0.3.0/src/yakbox/speech/analysis_corpus_archives.py +416 -0
  253. yakbox-0.3.0/src/yakbox/speech/analysis_corpus_boundaries.py +712 -0
  254. yakbox-0.3.0/src/yakbox/speech/analysis_corpus_partition.py +341 -0
  255. yakbox-0.3.0/src/yakbox/speech/analysis_corpus_passages.py +321 -0
  256. yakbox-0.3.0/src/yakbox/speech/analysis_corpus_review.py +137 -0
  257. yakbox-0.3.0/src/yakbox/speech/analysis_corpus_sources.py +546 -0
  258. yakbox-0.3.0/src/yakbox/speech/analysis_corpus_text_anchors.py +711 -0
  259. yakbox-0.3.0/src/yakbox/speech/analysis_corpus_text_sources.py +854 -0
  260. yakbox-0.3.0/src/yakbox/speech/analysis_corpus_transcripts.py +737 -0
  261. yakbox-0.3.0/src/yakbox/speech/analysis_corpus_truth.py +670 -0
  262. yakbox-0.3.0/src/yakbox/speech/analysis_cutover.py +250 -0
  263. yakbox-0.3.0/src/yakbox/speech/analysis_disposition.py +652 -0
  264. yakbox-0.3.0/src/yakbox/speech/analysis_evaluation.py +1346 -0
  265. yakbox-0.3.0/src/yakbox/speech/analysis_fingerprints.py +62 -0
  266. yakbox-0.3.0/src/yakbox/speech/analysis_manifest.py +669 -0
  267. yakbox-0.3.0/src/yakbox/speech/analysis_migration.py +781 -0
  268. yakbox-0.3.0/src/yakbox/speech/analysis_models.py +995 -0
  269. yakbox-0.3.0/src/yakbox/speech/analysis_performance_qualification.py +545 -0
  270. yakbox-0.3.0/src/yakbox/speech/analysis_pipeline.py +800 -0
  271. yakbox-0.3.0/src/yakbox/speech/analysis_policy.py +314 -0
  272. yakbox-0.3.0/src/yakbox/speech/analysis_preflight.py +281 -0
  273. yakbox-0.3.0/src/yakbox/speech/analysis_protocol.py +1349 -0
  274. yakbox-0.3.0/src/yakbox/speech/analysis_release.py +977 -0
  275. yakbox-0.3.0/src/yakbox/speech/analysis_repair.py +613 -0
  276. yakbox-0.3.0/src/yakbox/speech/analysis_review.py +424 -0
  277. yakbox-0.3.0/src/yakbox/speech/analysis_runtime.py +1007 -0
  278. yakbox-0.3.0/src/yakbox/speech/analysis_runtime_identity.py +83 -0
  279. yakbox-0.3.0/src/yakbox/speech/analysis_runtime_install.py +522 -0
  280. yakbox-0.3.0/src/yakbox/speech/analysis_scheduler.py +1189 -0
  281. yakbox-0.3.0/src/yakbox/speech/analysis_serialization.py +488 -0
  282. yakbox-0.3.0/src/yakbox/speech/analysis_services.py +130 -0
  283. yakbox-0.3.0/src/yakbox/speech/analysis_text_plan.py +302 -0
  284. yakbox-0.3.0/src/yakbox/speech/analysis_windows.py +280 -0
  285. yakbox-0.3.0/src/yakbox/speech/analysis_worker.py +887 -0
  286. yakbox-0.3.0/src/yakbox/speech/analysis_worker_artifact.py +196 -0
  287. yakbox-0.3.0/src/yakbox/speech/canonical_audio.py +424 -0
  288. yakbox-0.3.0/src/yakbox/speech/capabilities.py +16 -0
  289. yakbox-0.3.0/src/yakbox/speech/chunking.py +92 -0
  290. yakbox-0.3.0/src/yakbox/speech/consensus.py +466 -0
  291. yakbox-0.3.0/src/yakbox/speech/fingerprints.py +48 -0
  292. yakbox-0.3.0/src/yakbox/speech/guardrails.py +154 -0
  293. yakbox-0.3.0/src/yakbox/speech/model_registry.py +639 -0
  294. yakbox-0.3.0/src/yakbox/speech/models.py +176 -0
  295. yakbox-0.3.0/src/yakbox/speech/normalization.py +253 -0
  296. yakbox-0.3.0/src/yakbox/speech/phonemes.py +129 -0
  297. yakbox-0.3.0/src/yakbox/speech/services.py +321 -0
  298. yakbox-0.3.0/src/yakbox/speech/shadow.py +97 -0
  299. yakbox-0.3.0/src/yakbox/speech/short_synthesis.py +1794 -0
  300. yakbox-0.3.0/src/yakbox/speech/short_utterances.py +590 -0
  301. yakbox-0.3.0/src/yakbox/speech/waves.py +267 -0
  302. yakbox-0.3.0/src/yakbox/speech/workers.py +633 -0
  303. yakbox-0.3.0/src/yakbox/textutils.py +115 -0
  304. yakbox-0.3.0/src/yakbox/voice_quality.py +606 -0
  305. yakbox-0.3.0/src/yakbox/whisper_cache.py +259 -0
  306. yakbox-0.3.0/src/yakbox/whisper_calibration.py +223 -0
  307. yakbox-0.3.0/src/yakbox/whisper_inspection.py +183 -0
  308. yakbox-0.3.0/src/yakbox/whisper_models.py +179 -0
  309. yakbox-0.3.0/src/yakbox/whisper_qa.py +1305 -0
  310. yakbox-0.3.0/src/yakbox/yaml_config.py +74 -0
  311. yakbox-0.3.0/tests/__init__.py +1 -0
  312. yakbox-0.3.0/tests/conftest.py +53 -0
  313. yakbox-0.3.0/tests/fixtures/local-chatterbox-e2e/README.md +15 -0
  314. yakbox-0.3.0/tests/fixtures/local-chatterbox-e2e/audition.txt +1 -0
  315. yakbox-0.3.0/tests/fixtures/local-chatterbox-e2e/dialogue.txt +11 -0
  316. yakbox-0.3.0/tests/fixtures/local-chatterbox-e2e/pronunciations.toml +12 -0
  317. yakbox-0.3.0/tests/fixtures/local-chatterbox-e2e/qa.toml +99 -0
  318. yakbox-0.3.0/tests/fixtures/local-chatterbox-e2e/source/book.md +37 -0
  319. yakbox-0.3.0/tests/fixtures/local-chatterbox-e2e/yakbox.toml +444 -0
  320. yakbox-0.3.0/tests/fixtures/speech-analysis-corpus-v1.toml +21 -0
  321. yakbox-0.3.0/tests/fixtures/speech-analysis-manifest-v2.toml +95 -0
  322. yakbox-0.3.0/tests/integration/test_audiobook_build.py +1614 -0
  323. yakbox-0.3.0/tests/integration/test_cli.py +1106 -0
  324. yakbox-0.3.0/tests/integration/test_cli_convenience.py +244 -0
  325. yakbox-0.3.0/tests/integration/test_cli_stream_limits.py +45 -0
  326. yakbox-0.3.0/tests/integration/test_examples.py +80 -0
  327. yakbox-0.3.0/tests/integration/test_failure_recovery.py +147 -0
  328. yakbox-0.3.0/tests/integration/test_incremental_repair.py +450 -0
  329. yakbox-0.3.0/tests/live/__init__.py +1 -0
  330. yakbox-0.3.0/tests/live/test_local_chatterbox_e2e.py +959 -0
  331. yakbox-0.3.0/tests/live/test_local_chatterbox_live.py +62 -0
  332. yakbox-0.3.0/tests/live/test_multi_model_speech_analysis.py +972 -0
  333. yakbox-0.3.0/tests/live/test_narration_review.py +42 -0
  334. yakbox-0.3.0/tests/live/test_resemble_live.py +79 -0
  335. yakbox-0.3.0/tests/narration_review.py +391 -0
  336. yakbox-0.3.0/tests/package_sdk_consumer.py +93 -0
  337. yakbox-0.3.0/tests/package_worker_consumer.py +82 -0
  338. yakbox-0.3.0/tests/performance/baselines.yaml +9 -0
  339. yakbox-0.3.0/tests/performance/test_core_performance.py +94 -0
  340. yakbox-0.3.0/tests/public-api-v1.yaml +787 -0
  341. yakbox-0.3.0/tests/schema_helpers.py +12 -0
  342. yakbox-0.3.0/tests/unit/test_artifacts.py +165 -0
  343. yakbox-0.3.0/tests/unit/test_audio.py +159 -0
  344. yakbox-0.3.0/tests/unit/test_audio_splice.py +51 -0
  345. yakbox-0.3.0/tests/unit/test_batch.py +282 -0
  346. yakbox-0.3.0/tests/unit/test_build_version.py +161 -0
  347. yakbox-0.3.0/tests/unit/test_canonical_speech_audio.py +134 -0
  348. yakbox-0.3.0/tests/unit/test_cleanup.py +263 -0
  349. yakbox-0.3.0/tests/unit/test_cli_contract_metrics.py +162 -0
  350. yakbox-0.3.0/tests/unit/test_cloud_client.py +717 -0
  351. yakbox-0.3.0/tests/unit/test_credentials.py +40 -0
  352. yakbox-0.3.0/tests/unit/test_docs.py +205 -0
  353. yakbox-0.3.0/tests/unit/test_doctor.py +96 -0
  354. yakbox-0.3.0/tests/unit/test_files.py +94 -0
  355. yakbox-0.3.0/tests/unit/test_guardrails.py +103 -0
  356. yakbox-0.3.0/tests/unit/test_journals.py +192 -0
  357. yakbox-0.3.0/tests/unit/test_local_chatterbox.py +338 -0
  358. yakbox-0.3.0/tests/unit/test_local_narration_qa.py +112 -0
  359. yakbox-0.3.0/tests/unit/test_local_runtime.py +216 -0
  360. yakbox-0.3.0/tests/unit/test_manifest.py +517 -0
  361. yakbox-0.3.0/tests/unit/test_narration_review.py +139 -0
  362. yakbox-0.3.0/tests/unit/test_public_api_contract.py +149 -0
  363. yakbox-0.3.0/tests/unit/test_quality_standards.py +104 -0
  364. yakbox-0.3.0/tests/unit/test_release_automation.py +284 -0
  365. yakbox-0.3.0/tests/unit/test_release_makefile.py +170 -0
  366. yakbox-0.3.0/tests/unit/test_release_preflight.py +286 -0
  367. yakbox-0.3.0/tests/unit/test_release_workflow.py +676 -0
  368. yakbox-0.3.0/tests/unit/test_retry.py +149 -0
  369. yakbox-0.3.0/tests/unit/test_schemas.py +82 -0
  370. yakbox-0.3.0/tests/unit/test_short_utterances.py +1627 -0
  371. yakbox-0.3.0/tests/unit/test_sources_and_plan.py +1051 -0
  372. yakbox-0.3.0/tests/unit/test_speech_analysis_adapters.py +642 -0
  373. yakbox-0.3.0/tests/unit/test_speech_analysis_attestation.py +96 -0
  374. yakbox-0.3.0/tests/unit/test_speech_analysis_cache.py +352 -0
  375. yakbox-0.3.0/tests/unit/test_speech_analysis_contracts.py +1683 -0
  376. yakbox-0.3.0/tests/unit/test_speech_analysis_cutover.py +289 -0
  377. yakbox-0.3.0/tests/unit/test_speech_analysis_disposition.py +228 -0
  378. yakbox-0.3.0/tests/unit/test_speech_analysis_evaluation.py +653 -0
  379. yakbox-0.3.0/tests/unit/test_speech_analysis_manifest_draft.py +119 -0
  380. yakbox-0.3.0/tests/unit/test_speech_analysis_migration.py +281 -0
  381. yakbox-0.3.0/tests/unit/test_speech_analysis_performance_qualification.py +180 -0
  382. yakbox-0.3.0/tests/unit/test_speech_analysis_pipeline.py +796 -0
  383. yakbox-0.3.0/tests/unit/test_speech_analysis_preflight.py +193 -0
  384. yakbox-0.3.0/tests/unit/test_speech_analysis_repair.py +283 -0
  385. yakbox-0.3.0/tests/unit/test_speech_analysis_runtime_install.py +271 -0
  386. yakbox-0.3.0/tests/unit/test_speech_analysis_scheduler.py +759 -0
  387. yakbox-0.3.0/tests/unit/test_speech_analysis_text_plan.py +237 -0
  388. yakbox-0.3.0/tests/unit/test_speech_analysis_timing_integration.py +110 -0
  389. yakbox-0.3.0/tests/unit/test_speech_analysis_windows.py +133 -0
  390. yakbox-0.3.0/tests/unit/test_speech_analysis_worker_artifact.py +57 -0
  391. yakbox-0.3.0/tests/unit/test_speech_corpus_boundaries.py +265 -0
  392. yakbox-0.3.0/tests/unit/test_speech_corpus_partition.py +176 -0
  393. yakbox-0.3.0/tests/unit/test_speech_corpus_sources.py +355 -0
  394. yakbox-0.3.0/tests/unit/test_speech_corpus_transcripts.py +660 -0
  395. yakbox-0.3.0/tests/unit/test_speech_model_registry.py +280 -0
  396. yakbox-0.3.0/tests/unit/test_speech_review_cli.py +193 -0
  397. yakbox-0.3.0/tests/unit/test_speech_waves.py +117 -0
  398. yakbox-0.3.0/tests/unit/test_stream_limits.py +374 -0
  399. yakbox-0.3.0/tests/unit/test_synthesis_cache.py +116 -0
  400. yakbox-0.3.0/tests/unit/test_test_isolation.py +22 -0
  401. yakbox-0.3.0/tests/unit/test_textutils.py +117 -0
  402. yakbox-0.3.0/tests/unit/test_voice_assets.py +226 -0
  403. yakbox-0.3.0/tests/unit/test_voice_quality.py +144 -0
  404. yakbox-0.3.0/tests/unit/test_whisper_tooling.py +1204 -0
  405. yakbox-0.3.0/tests/unit/test_workers.py +312 -0
  406. yakbox-0.3.0/tests/unit/test_yaml_config.py +48 -0
yakbox-0.3.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 yakbox contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
yakbox-0.3.0/PKG-INFO ADDED
@@ -0,0 +1,147 @@
1
+ Metadata-Version: 2.4
2
+ Name: yakbox
3
+ Version: 0.3.0
4
+ Summary: A local-first, reproducible audiobook build system
5
+ Author: yakbox contributors
6
+ License-Expression: MIT
7
+ License-File: LICENSE
8
+ License-File: THIRD_PARTY_NOTICES.md
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Environment :: Console
11
+ Classifier: Operating System :: MacOS :: MacOS X
12
+ Classifier: Operating System :: POSIX :: Linux
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.14
15
+ Classifier: Typing :: Typed
16
+ Requires-Dist: click>=8.5.0,<9
17
+ Requires-Dist: httpx>=0.28.1,<1
18
+ Requires-Dist: markdown-it-py>=4.2.0,<5
19
+ Requires-Dist: pyyaml>=6.0.3,<7
20
+ Requires-Dist: regex>=2026.9.29,<2027
21
+ Requires-Dist: rich>=15.0,<16
22
+ Requires-Dist: mlx-whisper>=0.4.3,<0.5 ; platform_machine == 'arm64' and sys_platform == 'darwin' and extra == 'alignment'
23
+ Requires-Dist: parakeet-mlx==0.5.2 ; platform_machine == 'arm64' and sys_platform == 'darwin' and extra == 'analysis-parakeet'
24
+ Requires-Dist: mlx-audio[stt]>=0.4.8,<0.5 ; platform_machine == 'arm64' and sys_platform == 'darwin' and extra == 'analysis-qwen'
25
+ Requires-Dist: keyring>=25.7,<26 ; extra == 'credentials'
26
+ Requires-Dist: chatterbox-tts>=0.1.7,<0.2 ; extra == 'local'
27
+ Requires-Dist: diffusers>=0.38.0 ; extra == 'local'
28
+ Requires-Dist: gradio>=6.16.0 ; extra == 'local'
29
+ Requires-Dist: numba>=0.66.0 ; extra == 'local'
30
+ Requires-Dist: numpy>=2,<2.5 ; extra == 'local'
31
+ Requires-Dist: onnx>=1.22.0 ; extra == 'local'
32
+ Requires-Dist: safetensors>=0.8.0 ; extra == 'local'
33
+ Requires-Dist: setuptools>=83.0.0 ; extra == 'local'
34
+ Requires-Dist: starlette>=1.3.1 ; extra == 'local'
35
+ Requires-Dist: torch==2.13.0 ; extra == 'local'
36
+ Requires-Dist: torchaudio==2.11.0 ; extra == 'local'
37
+ Requires-Dist: torchcodec>=0.13,<0.14 ; extra == 'local'
38
+ Requires-Dist: transformers>=5.5.0 ; extra == 'local'
39
+ Requires-Dist: huggingface-hub>=1.4,<2 ; extra == 'phoneme'
40
+ Requires-Dist: torch==2.13.0 ; extra == 'phoneme'
41
+ Requires-Dist: transformers>=5.5.0 ; extra == 'phoneme'
42
+ Requires-Python: >=3.14, <3.15
43
+ Project-URL: Homepage, https://github.com/pbsladek/yakbox
44
+ Project-URL: Documentation, https://github.com/pbsladek/yakbox/tree/main/docs
45
+ Project-URL: Issues, https://github.com/pbsladek/yakbox/issues
46
+ Provides-Extra: alignment
47
+ Provides-Extra: analysis-parakeet
48
+ Provides-Extra: analysis-qwen
49
+ Provides-Extra: credentials
50
+ Provides-Extra: local
51
+ Provides-Extra: phoneme
52
+ Description-Content-Type: text/markdown
53
+
54
+ # yakbox
55
+
56
+ Yakbox is a local-first audiobook build system. It turns Markdown manuscripts
57
+ into generated narration, mastered WAV chapters, delivery MP3 chapters, and
58
+ verified releases.
59
+
60
+ It supports local Chatterbox and hosted Resemble.ai synthesis. The same speech
61
+ backends also power direct text-to-speech commands.
62
+
63
+ ## Install
64
+
65
+ Yakbox supports macOS and Linux with Python 3.14. Install the CLI from a
66
+ [GitHub Release](https://github.com/pbsladek/yakbox/releases) with
67
+ [uv](https://docs.astral.sh/uv/):
68
+
69
+ ```console
70
+ uv tool install --python 3.14 \
71
+ https://github.com/pbsladek/yakbox/releases/download/v0.2.0/yakbox-0.2.0-py3-none-any.whl
72
+ yakbox doctor
73
+ ```
74
+
75
+ For local Chatterbox synthesis:
76
+
77
+ ```console
78
+ uv tool install --python 3.14 \
79
+ "yakbox[local] @ https://github.com/pbsladek/yakbox/releases/download/v0.2.0/yakbox-0.2.0-py3-none-any.whl" \
80
+ --overrides https://raw.githubusercontent.com/pbsladek/yakbox/v0.2.0/constraints/chatterbox-security-overrides.txt
81
+ ```
82
+
83
+ FFmpeg and FFprobe are required to master, encode, inspect, and assemble audio.
84
+ You can also install a wheel downloaded from the
85
+ [GitHub Releases](https://github.com/pbsladek/yakbox/releases) page:
86
+
87
+ ```console
88
+ uv tool install ./yakbox-*.whl
89
+ ```
90
+
91
+ Releases include `SHA256SUMS`. See the
92
+ [installation and release guide](docs/installing-and-releasing.md) for checksum
93
+ verification, local release commands, and optional PyPI publishing.
94
+
95
+ ## Build an audiobook
96
+
97
+ ```console
98
+ yakbox init my-book
99
+ cd my-book
100
+ yakbox validate
101
+ yakbox audition --profile default --text "A short voice check."
102
+ yakbox build
103
+ yakbox release check --write-manifest
104
+ ```
105
+
106
+ New projects use the fast offline fake backend. Change the profile in
107
+ `yakbox.toml` to use local Chatterbox or Resemble.ai for real narration.
108
+
109
+ ## Examples
110
+
111
+ The [examples](examples/README.md) cover a tiny offline book, local Chatterbox,
112
+ Resemble.ai, multiple voice editions, pronunciations, selective rebuilding,
113
+ and M4B assembly. Start with the tiny book:
114
+
115
+ ```console
116
+ cp -R examples/tiny-book my-tiny-book
117
+ cd my-tiny-book
118
+ yakbox validate
119
+ yakbox plan
120
+ yakbox build
121
+ ```
122
+
123
+ ## Direct text to speech
124
+
125
+ ```console
126
+ yakbox tts "A short local test." --backend chatterbox-local --out local.wav
127
+ RESEMBLE_API_KEY=... yakbox cloud tts "A hosted test." \
128
+ --voice-uuid VOICE_UUID --out hosted.wav
129
+ ```
130
+
131
+ Use only voices and reference audio for which you have the necessary rights
132
+ and consent.
133
+
134
+ The local Chatterbox example includes four public-domain LibriVox prompts with
135
+ verified provenance and checksums. See the
136
+ [third-party notices](THIRD_PARTY_NOTICES.md) and
137
+ [licensing policy](docs/licensing.md).
138
+
139
+ For one- to three-word dialogue, Yakbox can generate longer carrier sentences,
140
+ use local Whisper to crop and verify the target, and stop for a hash-bound
141
+ listening review. See [Whisper inspection and short-audio
142
+ QA](docs/whisper-and-short-audio.md).
143
+
144
+ ## Documentation
145
+
146
+ See the [documentation](docs/README.md) for manifests, backends, hosted
147
+ budgets, cleanup, releases, troubleshooting, and the Python API.
yakbox-0.3.0/README.md ADDED
@@ -0,0 +1,94 @@
1
+ # yakbox
2
+
3
+ Yakbox is a local-first audiobook build system. It turns Markdown manuscripts
4
+ into generated narration, mastered WAV chapters, delivery MP3 chapters, and
5
+ verified releases.
6
+
7
+ It supports local Chatterbox and hosted Resemble.ai synthesis. The same speech
8
+ backends also power direct text-to-speech commands.
9
+
10
+ ## Install
11
+
12
+ Yakbox supports macOS and Linux with Python 3.14. Install the CLI from a
13
+ [GitHub Release](https://github.com/pbsladek/yakbox/releases) with
14
+ [uv](https://docs.astral.sh/uv/):
15
+
16
+ ```console
17
+ uv tool install --python 3.14 \
18
+ https://github.com/pbsladek/yakbox/releases/download/v0.2.0/yakbox-0.2.0-py3-none-any.whl
19
+ yakbox doctor
20
+ ```
21
+
22
+ For local Chatterbox synthesis:
23
+
24
+ ```console
25
+ uv tool install --python 3.14 \
26
+ "yakbox[local] @ https://github.com/pbsladek/yakbox/releases/download/v0.2.0/yakbox-0.2.0-py3-none-any.whl" \
27
+ --overrides https://raw.githubusercontent.com/pbsladek/yakbox/v0.2.0/constraints/chatterbox-security-overrides.txt
28
+ ```
29
+
30
+ FFmpeg and FFprobe are required to master, encode, inspect, and assemble audio.
31
+ You can also install a wheel downloaded from the
32
+ [GitHub Releases](https://github.com/pbsladek/yakbox/releases) page:
33
+
34
+ ```console
35
+ uv tool install ./yakbox-*.whl
36
+ ```
37
+
38
+ Releases include `SHA256SUMS`. See the
39
+ [installation and release guide](docs/installing-and-releasing.md) for checksum
40
+ verification, local release commands, and optional PyPI publishing.
41
+
42
+ ## Build an audiobook
43
+
44
+ ```console
45
+ yakbox init my-book
46
+ cd my-book
47
+ yakbox validate
48
+ yakbox audition --profile default --text "A short voice check."
49
+ yakbox build
50
+ yakbox release check --write-manifest
51
+ ```
52
+
53
+ New projects use the fast offline fake backend. Change the profile in
54
+ `yakbox.toml` to use local Chatterbox or Resemble.ai for real narration.
55
+
56
+ ## Examples
57
+
58
+ The [examples](examples/README.md) cover a tiny offline book, local Chatterbox,
59
+ Resemble.ai, multiple voice editions, pronunciations, selective rebuilding,
60
+ and M4B assembly. Start with the tiny book:
61
+
62
+ ```console
63
+ cp -R examples/tiny-book my-tiny-book
64
+ cd my-tiny-book
65
+ yakbox validate
66
+ yakbox plan
67
+ yakbox build
68
+ ```
69
+
70
+ ## Direct text to speech
71
+
72
+ ```console
73
+ yakbox tts "A short local test." --backend chatterbox-local --out local.wav
74
+ RESEMBLE_API_KEY=... yakbox cloud tts "A hosted test." \
75
+ --voice-uuid VOICE_UUID --out hosted.wav
76
+ ```
77
+
78
+ Use only voices and reference audio for which you have the necessary rights
79
+ and consent.
80
+
81
+ The local Chatterbox example includes four public-domain LibriVox prompts with
82
+ verified provenance and checksums. See the
83
+ [third-party notices](THIRD_PARTY_NOTICES.md) and
84
+ [licensing policy](docs/licensing.md).
85
+
86
+ For one- to three-word dialogue, Yakbox can generate longer carrier sentences,
87
+ use local Whisper to crop and verify the target, and stop for a hash-bound
88
+ listening review. See [Whisper inspection and short-audio
89
+ QA](docs/whisper-and-short-audio.md).
90
+
91
+ ## Documentation
92
+
93
+ See the [documentation](docs/README.md) for manifests, backends, hosted
94
+ budgets, cleanup, releases, troubleshooting, and the Python API.
@@ -0,0 +1,104 @@
1
+ # Third-party notices
2
+
3
+ Yakbox's source code is licensed under the root MIT License. The following
4
+ bundled media comes from third parties and retains its own stated rights basis.
5
+
6
+ ## YAML configuration parser
7
+
8
+ Yakbox uses PyYAML to safely parse user-authored YAML configuration. PyYAML is
9
+ distributed under the MIT License. Yakbox uses safe loaders and does not enable
10
+ arbitrary Python object construction.
11
+
12
+ - PyYAML license: <https://github.com/yaml/pyyaml/blob/main/LICENSE>
13
+
14
+ ## LibriVox reference voice prompts
15
+
16
+ The files under `examples/local-chatterbox/voices/` are 20-second derivatives
17
+ of recordings by the twenty-five qualified LibriVox readers listed in the adjacent
18
+ `voices.toml` registry. LibriVox states that its recordings are public domain
19
+ in the United States and may be used, modified, and sold without permission.
20
+ Copyright status may differ outside the United States.
21
+
22
+ The exact reader, source work, catalog URL, recording URL, source checksum,
23
+ extraction interval, local format, and local checksum for each file are recorded
24
+ in `examples/local-chatterbox/voices/voices.toml`.
25
+
26
+ No reader, author, or LibriVox endorsement is claimed or implied.
27
+
28
+ - LibriVox public-domain policy: <https://librivox.org/pages/public-domain/>
29
+ - LibriVox about page: <https://librivox.org/pages/about-librivox/>
30
+
31
+ ## Optional local alignment software and model
32
+
33
+ The optional Apple Silicon alignment path uses Apple's MLX examples package
34
+ (`mlx-whisper`) and OpenAI Whisper code, both under the MIT License. The default
35
+ `mlx-community/whisper-large-v3-turbo` weights are an MLX conversion of
36
+ OpenAI's Whisper Large-v3-Turbo model. Yakbox pins the selected model revision,
37
+ installs it only through an explicit model command, and does not bundle
38
+ or redistribute the model files; the runtime downloads them into the user's
39
+ local cache.
40
+
41
+ - MLX examples license: <https://github.com/ml-explore/mlx-examples/blob/main/LICENSE>
42
+ - OpenAI Whisper license: <https://github.com/openai/whisper/blob/main/LICENSE>
43
+ - Default MLX model card: <https://huggingface.co/mlx-community/whisper-large-v3-turbo>
44
+
45
+ ## Optional multi-model speech-analysis software and models
46
+
47
+ Yakbox can use `parakeet-mlx` under Apache-2.0 and the speech-to-text portion of
48
+ `mlx-audio` under MIT. These packages and their model files are optional. Model
49
+ installation is explicit, targets a user cache, and is separate from Yakbox
50
+ distribution.
51
+
52
+ The optional model set contains:
53
+
54
+ - NVIDIA Parakeet TDT 0.6B v3 and its MLX conversion, under CC BY 4.0;
55
+ - Qwen3-ASR 1.7B and its BF16 MLX conversion, under Apache-2.0; and
56
+ - Qwen3-ForcedAligner 0.6B and its BF16 MLX conversion, under Apache-2.0.
57
+
58
+ Yakbox's qualification-only registry additionally references the official
59
+ 8-bit MLX-community conversions of both Qwen models under Apache-2.0. These
60
+ weights are not distributed with Yakbox and are not default runtime models.
61
+
62
+ When redistributing the Parakeet weights, retain attribution to NVIDIA, the
63
+ CC BY 4.0 license notice, and the upstream and converted model-card links. No
64
+ NVIDIA, Qwen, MLX Community, or runtime-project endorsement is claimed.
65
+
66
+ - parakeet-mlx: <https://github.com/senstella/parakeet-mlx>
67
+ - mlx-audio: <https://github.com/Blaizzy/mlx-audio>
68
+ - NVIDIA Parakeet model: <https://huggingface.co/nvidia/parakeet-tdt-0.6b-v3>
69
+ - Parakeet MLX conversion: <https://huggingface.co/mlx-community/parakeet-tdt-0.6b-v3>
70
+ - Qwen3-ASR model: <https://huggingface.co/Qwen/Qwen3-ASR-1.7B>
71
+ - Qwen3-ASR MLX conversion: <https://huggingface.co/mlx-community/Qwen3-ASR-1.7B-bf16>
72
+ - Qwen3-ASR 8-bit qualification conversion: <https://huggingface.co/mlx-community/Qwen3-ASR-1.7B-8bit>
73
+ - Qwen3-ForcedAligner model: <https://huggingface.co/Qwen/Qwen3-ForcedAligner-0.6B>
74
+ - Qwen3-ForcedAligner MLX conversion: <https://huggingface.co/mlx-community/Qwen3-ForcedAligner-0.6B-bf16>
75
+ - Qwen3-ForcedAligner 8-bit qualification conversion: <https://huggingface.co/mlx-community/Qwen3-ForcedAligner-0.6B-8bit>
76
+
77
+ ## Dependency update and CI tooling
78
+
79
+ The updated optional dependency graph includes BSD-3-Clause Cloudpickle and
80
+ Apache-2.0 OpenTelemetry API. These packages remain dependencies rather than
81
+ vendored source. CI validates workflows with MIT-licensed Actionlint 1.7.12
82
+ and distribution metadata with Apache-2.0-licensed Twine 7.0.0.
83
+ Release preparation uses Google's Apache-2.0-licensed Release Please action
84
+ v5.0.0, pinned by commit in the workflow. It is not vendored in Yakbox.
85
+
86
+ - Cloudpickle license: <https://github.com/cloudpipe/cloudpickle/blob/master/LICENSE>
87
+ - OpenTelemetry license: <https://github.com/open-telemetry/opentelemetry-python/blob/main/LICENSE>
88
+ - Actionlint license: <https://github.com/rhysd/actionlint/blob/v1.7.12/LICENSE.txt>
89
+ - Twine license: <https://github.com/pypa/twine/blob/7.0.0/LICENSE>
90
+ - Release Please action license: <https://github.com/googleapis/release-please-action/blob/v5.0.0/LICENSE>
91
+
92
+ ## Optional phoneme forced-alignment runtime and model
93
+
94
+ The optional phoneme path uses Meta's Apache-2.0
95
+ `facebook/wav2vec2-lv-60-espeak-cv-ft` model through Apache-2.0 Transformers
96
+ and BSD-licensed PyTorch. Model files are explicitly installed to the user's
97
+ cache and are not included in Yakbox distributions.
98
+
99
+ Yakbox optionally invokes a separately installed eSpeak NG executable to
100
+ derive expected IPA phonemes. eSpeak NG is GPL-3.0-or-later and is neither
101
+ vendored nor downloaded by Yakbox.
102
+
103
+ - Phoneme model card: <https://huggingface.co/facebook/wav2vec2-lv-60-espeak-cv-ft>
104
+ - eSpeak NG license: <https://github.com/espeak-ng/espeak-ng/blob/master/COPYING>
@@ -0,0 +1,17 @@
1
+ # Chatterbox 0.1.7 pins vulnerable versions of these packages. Pass this file
2
+ # to Astral uv with --overrides when installing yakbox's optional dependency
3
+ # sets. SecretStorage otherwise permits cryptography releases affected by
4
+ # GHSA-g6cj-pr64-35w5.
5
+ # The download stack also requires the patched urllib3 2.8 transport.
6
+ cryptography==50.0.2
7
+ diffusers==0.41.0
8
+ gradio==6.30.0
9
+ numpy==2.4.6
10
+ onnx==1.23.2
11
+ safetensors==0.8.0
12
+ setuptools==84.0.0
13
+ starlette==1.7.0
14
+ torch==2.13.0
15
+ torchaudio==2.11.0
16
+ transformers==5.19.0
17
+ urllib3==2.8.0