text2speech
espeak
#!/usr/bin/env python
'''
brew install espeak (OS X)
sudo apt-get install espeak (Ubuntu)
'''
import os
while True:
str = raw_input()
if str == '':
break
else:
os.system('espeak ' + '"' + str + '"')
vosk
Vosk is a speech recognition toolkit.