Skip to main content

SSML Builder for Alexa

Project description

ssml-builder

Installation

pip install ssml-builder

Usage

  1. Create a Speech object
from ssml_builder.core import Speech
speech = Speech()
  1. Add text and tags
# add text
speech.say("hello world")
# add pause tag
speech.pause("10s")
# add prosody tag
speech.prosody("x-fast")
  1. Output ssml with <speak> wrapper
speech.speak()

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

ssml_builder-1.0.3.tar.gz (1.7 kB view hashes)

Uploaded Source

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