Skip to main content

Unified interface for multiple Text-to-Speech (TTS) providers

Project description

TeToS

A unified interface for multiple Text-to-Speech (TTS) providers.

Supported TTS providers

Installation

Requires Python 3.8 or higher.

pip install tetos

CLI Usage

tetos PROVIDER [PROVIDER_OPTIONS] TEXT [--output FILE]

Please run tetos --help for available providers and options.

API Usage

Use Azure TTS as an example:

from tetos.azure import AzureSpeaker

speaker = AzureSpeaker(speech_key='...', speech_region='...')
speaker.say('Hello, world!', 'output.mp3')

The initialization parameters may be different for other providers.

Behind a proxy

TeTos respects the proxy environment variables HTTP_PROXY, HTTPS_PROXY, ALL_PROXY and NO_PROXY.

TODO

  • Google TTS
  • SSML support

License

Apache License 2.0

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

tetos-0.0.2.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

tetos-0.0.2-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file tetos-0.0.2.tar.gz.

File metadata

  • Download URL: tetos-0.0.2.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for tetos-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0d8d7ed6f3cba7a98a4829fc50ab50d311fcde1976927f2ddbd92aea5f1a89d6
MD5 fa6e6c1e7d94bb40763c198d8439a2ff
BLAKE2b-256 30db3264ad283d0a517dd8e501f8c9a949a7c2ab24e24f55d4dfb540e9135a9b

See more details on using hashes here.

Provenance

File details

Details for the file tetos-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: tetos-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for tetos-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 27852520b609fcffc93719a06cba97c849569d92cf6c903df171bdaa55e10637
MD5 7327e21cfe9878c093b738eded6755a0
BLAKE2b-256 aa60256f66733b5fda749d9c21304cd127ff25332d6c1030c0e5728c392a8a26

See more details on using hashes here.

Provenance

Supported by

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