Skip to main content

ttsdb-core

ttsdb-core provides the shared “adapter” surface that every model package implements.

Key pieces

  • VoiceCloningTTSBase: abstract base class for voice-cloning style TTS adapters.
    • Subclasses implement _load_model() and _synthesize() and use synthesize() for the public API.
  • ModelConfig: helper for loading a model package’s bundled config.yaml (supports editable installs too).
  • Vendoring utilities: helpers to make upstream research code importable at runtime:
    • setup_vendor_path(package_name): prepends src/<pkg>/_vendor/source[/code.root] to sys.path
    • vendor_context(...): optional context manager for research code that assumes a working directory or env vars

Model package conventions

Each model package lives in models/<name>/ and typically includes:

  • pyproject.toml: packaging metadata (including requires-python)
  • config.yaml: model metadata + dependency constraints + pointers to upstream code/weights
  • src/ttsdb_<name>/__init__.py: the adapter implementation
  • tests/: lightweight unit tests and optional integration tests (weights required)

Python version constraints

Because upstream research code often depends on specific Python versions, model packages express supported Python versions in two places:

  • pyproject.toml → requires-python (PEP 440 specifier string)
  • config.yaml → dependencies.python (same specifier string)

For local development automation, config.yaml may also include:

  • dependencies.python_venv: a concrete interpreter version used by just setup when creating a venv
  • dependencies.python_tested: optional explicit list of tested interpreters (human-facing)

Metadata

Release files for ttsdb-core 0.1.4

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

Source distribution (sdist)

Source distribution for ttsdb-core 0.1.4
File Size Uploaded
ttsdb_core-0.1.4.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ttsdb-core 0.1.4
File Interpreter ABI Platform
ttsdb_core-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 28.6 kB

Release files / ttsdb_core-0.1.4.tar.gz

Download URL ttsdb_core-0.1.4.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5b5f470e1ee395d0bfa4c58170902667b5422da4462d25745dccf55c75da2501
BLAKE2b-256 checksum
How to use checksums
d69295832221a88201d2a999dd004522bfb71023574023285c5ee1b1de941b6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / ttsdb_core-0.1.4-py3-none-any.whl

Download URL ttsdb_core-0.1.4-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b2b5da032dfe475b8c32d31c18193edc7e6bda5d2d1272cc2cab594b08c7795
BLAKE2b-256 checksum
How to use checksums
17126acbf4614798630d4d48c5d601fc50e0b9945d4163c16c08bc7df8a605ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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