Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

An OFFLINE Python Text to Speech library (TTS) which works for both python3 and python2. This library very usefull especially if you don't want any delay in the speech produced and don't want to depend only on the internet for TTS conversion. It also supports multiple TTS engines like Sapi5 , nsss , espeak .

Project Description
*******************************************************
pyttsx3 ( pyttsx for python3 : offline tts for python )
*******************************************************

Pyttsx for python3 [ Offline text to speech for python3]

Pyttsx is a good text to speech conversion library in python but it was written only in python2 untill now !
Even some fair amount of googling didn't help much to get a tts library compatible with Python3.

There is however , one library **gTTS** which works perfectly in python3 but it needs internet connection to work since it relies on google to get the audio data.But Pyttsx is completely offline and works seemlesly and has multiple tts-engine support.The codes in this repos are slightly modified version of the pyttsx module of python 2.x and is a clone from westonpace's repo. The purpose of creating this repo is to help those who want to have an offline tts lib for Python3 and don't want to port it from python2 to python3 themselves.

This project has been dead for over some years now and `pip install pyttsx` doesn't download the fixed python3 version of the library. So i decided to go ahead with my own repository and spread the fixed version.




Note : pyttsx3 library now works for both python2 and python3 and is also cross-platform
****************************************************************************************

How to install :
****************
::

pip install pyttsx3


Fixes for possible errors :
***************************

* **No module named win32com.client**
* **No module named win32**
* **No module named win32api**

::

pip install pypiwin32



Usage :
*******

::

import pyttsx3;
engine = pyttsx3.init();
engine.say("I will speak this text");
engine.runAndWait() ;


**Full documentation of the Library is available at**
#####################################################

https://pyttsx3.readthedocs.io/en/latest/

Included TTS engines :
**********************
* sapi5
* nsss
* espeak

**Feel free to wrap another text-to-speech engine for use with pyttsx3.**
########################################################################

Project Links :
***************

* Python Package Index for downloads (https://pypi.python.org)
* GitHub site for source , bugs, and Q&A (https://github.com/nateshmbhat/pyttsx3)
* Read the Full documentation at (https://pyttsx3.readthedocs.org)
Release History

Release History

This version
History Node

2.4

History Node

2.3

History Node

2.2

History Node

2.1

History Node

2.0

History Node

1.15

History Node

1.14

History Node

1.13

History Node

1.12

History Node

1.1

History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyttsx3-2.4.zip (31.0 kB) Copy SHA256 Checksum SHA256 Source Jun 25, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting