Skip to main content

Simple wrapper for azure tts

Project description

Azure TTS Manager

Minimal Python Text-to-Speech manager using Azure Cognitive Services.
Plays speech directly to speakers (no audio files).

Requirements

  • Python 3.10+
  • Azure Speech subscription key
  • azure-cognitiveservices-speech

basic usage

manager = tts_manager("replace_witch_your_api_key", "northeurope")
manager.speak("Saying text out loud")
manager = tts_manager(os.getenv("AZURE_TTS_KEY"), "northeurope")
asyncio.run(manager.speak_async_prefix("(shouting) Saying text out loud"))

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

azure_tts_wrapper-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

azure_tts_wrapper-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for azure_tts_wrapper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dfe8e842f03373f795b54f155842be1bb0d7eea11c237dd55e908f361118ac92
MD5 b69723c8ee2f8f7bc8b9651abfb6223b
BLAKE2b-256 2ca4ef871d2bd99112e6672652eb6a02856e42780de345a6e93ccd43cec6133d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for azure_tts_wrapper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 362fae78fe04caba13154269dc054c22d06fe4abac275e60d69aff9f165202cf
MD5 97de80dcbbddf7d25a855c53c80d432d
BLAKE2b-256 02d8a311ab0395fa99d453ea0a482a2c746608652c9cdec2c9eaaaaa12aefa6f

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