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.1.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.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: azure_tts_wrapper-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2c20e2350ed0c1ca47d1dcdf71412bbddc0446494f8a99085c9d23ab25c58197
MD5 512cabd2ffdc94568a4382fc46e82469
BLAKE2b-256 8543f1802ae08e2faf3341d83fa7dc60afd9ac0feac51dff3c4a1ada35878789

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for azure_tts_wrapper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48a6eb8e917c1b1bf1ab531e8914eb91b9fc230a21063dd2b15e2c9c8358ed71
MD5 4b69b06c974a9293bd5aa7fda7dcb94c
BLAKE2b-256 b230cd923d0e07794294570f5ae0894dcab91997e29f2ae5d36543d685441a3a

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