Skip to main content

Simple wrapper for azure tts

Project description

Azure TTS Manager

Minimal Python Text-to-Speech manager using Azure Cognitive Services. Makes Azure Text-to-Speech just a little more simple. 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.2.tar.gz (2.7 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.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: azure_tts_wrapper-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 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.2.tar.gz
Algorithm Hash digest
SHA256 1ac9fe33200943eea3895708859efa558d87acc3816385b102b6458bc88b096b
MD5 c6ce68973f641293adb1c80076c85de6
BLAKE2b-256 a83d1632397140997af6a3bc576d3b922eb1318e70319f8fb7862ea516a4b7c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for azure_tts_wrapper-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6f8ea1b6949179a618a8acf14edc59c3576dfdeb1a2d22f608b29a577afd631d
MD5 6d5afa96d3b79de0b775f9ab983494bf
BLAKE2b-256 a0627889ad66e8d6bdc566163c14b3a37eacc0bcdb795053cedef551d7db1e4d

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