A lightweight Python library providing a common interface to multiple TTS and screen reader APIs.
Project description
speechlight
A lightweight Python library providing a common interface to multiple TTS and screen reader APIs.
License And Credits
Speechlight is licensed under the terms of the Mozilla Public License, version 2.0. Speechlight was originally created and is actively maintained by Nick Stockton. macOS support by Jacob Schmude.
Installation
pip install --user speechlight
Documentation
Please see the API reference for more information.
Example Usage
from speechlight import speech
# Say something.
speech.say("Hello world!")
# Say something else, interrupting the currently speaking text.
speech.say("I'm a rood computer!", interrupt=True)
# Cancel the currently speaking message.
speech.silence()
# Braille something.
speech.braille("Braille dots go bump in the night.")
# Speak and braille text at the same time.
speech.output("Read along with me.")
# And to interrupt speech.
speech.output("Rood!", interrupt=True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
speechlight-1.7.1.tar.gz
(293.9 kB
view hashes)
Built Distribution
speechlight-1.7.1-py3-none-any.whl
(242.5 kB
view hashes)
Close
Hashes for speechlight-1.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc73b3e0b8f026a471ffc4179608f376ae0f24ad4fe3bcb0f8f0141aa4b94535 |
|
MD5 | b60a1199637f62dc4a33a152c717a26b |
|
BLAKE2b-256 | 2b56942205e2a6e9b066598453b6f5a86183d85693fc0a3b1d7149c34de020ab |