Skip to main content

Core package for TTSDB systems - base classes for voice cloning TTS models.

Project description

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.tomlrequires-python (PEP 440 specifier string)
  • config.yamldependencies.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)

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

ttsdb_core-0.1.3.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ttsdb_core-0.1.3-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file ttsdb_core-0.1.3.tar.gz.

File metadata

  • Download URL: ttsdb_core-0.1.3.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for ttsdb_core-0.1.3.tar.gz
Algorithm Hash digest
SHA256 bac0377a05ceada6b6d85967a488552ef50317cf7eb7ed7f594a3b6b35e0da39
MD5 6a529ad9e7b10a7e0d4dce5db88e4ddc
BLAKE2b-256 2c691ac40a91f1879e0e925504e6baf0d8567b1075dc33c8ddbec9e9a21fe843

See more details on using hashes here.

File details

Details for the file ttsdb_core-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ttsdb_core-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for ttsdb_core-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 10d1647f0d9a986074579e97c43d34de2417eea4dc295a9e1577a7bc30b007a4
MD5 66fe9824dbb1cd5b95af0a7cdb9db5e1
BLAKE2b-256 8dfed1b861037089e58783a6561400867f9ed473bcdd83bb3f975d9029d6fd95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page