Skip to main content

Readio

Readio is a thin orchestrator over specialist speech packages and native SSMDConvert workspaces. It creates and resolves .ssmdoc and .ssmdbook bundles, then delegates planning, RenderPlan projection, synthesis, composition, and export to the package that owns each stage. One-shot literal speech and local playback remain available.

Readio does not maintain a second project directory, settings file, stage manifest, RenderPlan, or audio-job format. Specialist workspaces, artifacts, reports, and stage decisions are authoritative.

Install

python -m pip install readio
python -m pip install "readio[kokoro]"  # or another supported VoiceRender engine extra
python -m pip install "readio[audioexport]"  # optional export stage

readio[documents] enables SSMDConvert's optional PDF and DOCX support; readio[spacy] enables UtterPlan's optional spaCy support. Backend engines are provided by VoiceRender extras. Readio requires Python 3.10 or newer.

Quick start

Create a native document workspace, create a VoiceRender profile, and run the pipeline:

readio init chapter.docx -o chapter.ssmdoc
readio profile create --engine kokoro --target v1.0 --voice af_heart \
  --language en-US -o narrator.renderprofile.toml
readio run chapter.ssmdoc --profile narrator.renderprofile.toml --language en-US

For a book, convert the EPUB first. Keeping its RenderProfile in the workspace also makes its provenance available to UtterPlan:

readio init novel.epub -o novel.ssmdbook
readio profile create --engine kokoro --target v1.0 --voice af_heart \
  --language en-US -o novel.ssmdbook/narrator.renderprofile.toml
readio run novel.ssmdbook --profile novel.ssmdbook/narrator.renderprofile.toml \
  --chapters 5-17 --language en-US --export --output novel.m4b

run compiles, projects the RenderPlan, renders, and composes in order. If export is selected, Readio also runs AudioExport. It forwards UtterPlan's exact projected variant unchanged to every downstream stage. To operate one stage at a time or inspect the available options, see the CLI reference.

Manual specialist workflow

Use the specialist CLIs when you need package-specific controls. Preserve UtterPlan's exact variant through every stage:

ssmdconvert book convert novel.epub -o novel.ssmdbook
utterplan compile-book novel.ssmdbook
voicerender profile create --engine kokoro --target v1.0 --voice af_heart \
  --language en-US -o novel.ssmdbook/narrator.renderprofile.toml
utterplan render-book novel.ssmdbook \
  --profile novel.ssmdbook/narrator.renderprofile.toml

VARIANT="<exact variant returned by utterplan render-book>"
voicerender render-book novel.ssmdbook --variant "$VARIANT"
audiocompose compose-book novel.ssmdbook --variant "$VARIANT"
audioexport export-book novel.ssmdbook --variant "$VARIANT" --output novel.m4b

Readio shorthand

Direct speech

readio speak --voice kokoro:v1.0/af_heart --lang en-US "Hello from Readio."

speak sends literal text through VoiceRender and plays the returned audio locally by default. Use --output FILE.wav --no-play to save without playback. Readio also retains playback and audio I/O helpers for Python callers.

Python API

from pathlib import Path
from readio.api import PlanRequest, Readio, RenderPlanRequest

service = Readio()
workspace = service.create_workspace("chapter.txt")  # writes chapter.ssmdoc
compiled = service.plan(workspace, PlanRequest(language="en-US"))
projection = service.render_plan(
    workspace,
    RenderPlanRequest(profile=Path("narrator.renderprofile.toml")),
)
print(workspace.root, projection.variant)

Use Readio.run() and RunRequest for complete sequencing. The service returns specialist results and preserves the exact UtterPlan-projected variant. See the Python API guide.

Breaking change in v0.5.0

SSMDConvert owns conversion and workspace bundles; UtterPlan owns semantic plans and variants; RenderPlan and VoiceRender own their public contracts, profiles, and synthesis; AudioCompose owns composition; AudioExport owns encoding. Readio coordinates these public APIs and does not reproduce their schemas or validations.

Version 0.5 is a deliberate clean break. Existing Readio project directories, settings, plans, manifests, and stage records are unsupported; there is no migration command or compatibility layer. Start from source material and create a native workspace with readio init, or use the specialist packages directly.

Documentation

Metadata

Release files for readio 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for readio 0.5.0
File Size Uploaded Provenance Actions
readio-0.5.0.tar.gz 66.1 kB Without provenance Details for readio-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for readio 0.5.0
File Interpreter ABI Platform Actions
readio-0.5.0-py3-none-any.whl Python 3 none any Details for readio-0.5.0-py3-none-any.whl

Total release size: 102.3 kB

Release files / readio-0.5.0.tar.gz

Download URL readio-0.5.0.tar.gz
Size 66.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ae2a82d2486cf40c1fd88e6cfd24a8d2a8295692726700c07f65fa9741111fc6
BLAKE2b-256 checksum
How to use checksums
63afaf4b82ea0374b98858123591e3a5e5d2cc876315e3c6c349bbf145409207
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / readio-0.5.0-py3-none-any.whl

Download URL readio-0.5.0-py3-none-any.whl
Size 36.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35bfffdd5f6b278294ccf7462b5d298982ad17fe4ac95e59db4fa26e1d816ffd
BLAKE2b-256 checksum
How to use checksums
b58916b4406ec79cd5a5dacc3941ac451df3ec788c4c53f692b29897b9d2c5ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Security for readio 0.5.0

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.

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