Skip to content

sumsted/pyssml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySSML

PySSML is an SSML builder for Amazon Alexa inspired by and based on JavaScript project https://github.com/mandnyc/ssml-builder.

A sample Alexa skill may be found here https://github.com/sumsted/alexa_pyssml.

Installation

pip install pyssml

Usage

  1. Create a PySSML object

    from pyssml.PySSML import PySSML
    
    s = PySSML()
    
  2. Add your speech text

    s.say('Hello')
    
  3. Retrieve your SSML

    s.ssml()      # to retrieve ssml with <speak> wrapper
    s.ssml(True)  # to retrieve ssml without <speak> wrapper
    s.to_object() # to retrieve complete speech output object
    

About

Python SSML Helper for Amazon Alexa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages