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.1.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

tetos-0.1.0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tetos-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fa537bb769ff4e54e3f808dd76c5d98373387a0a0c1119502e6998e00b4dcc75
MD5 8133b81ef35f22cd9f8d39c20915711e
BLAKE2b-256 ae297f2f966ea06af16f81a81a6041dc2acb3ca2059ff8d86080f408dd23c842

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tetos-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a3d2a2a93c2d22f950fae10c179e88bdc1cd6ee5d812c7dd5bf14751653a667
MD5 d0f4190c1f49c3711f3c18e4fe325ca6
BLAKE2b-256 871be43326372af5faac2f10f6718f7a4b01ba87e1955ded1fee41b52cac3591

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