A Text-to-speech module
Project description
Sapit - Python Text-to-Speech Module
Sapit is a Python module that enables users to utilize a text-to-speech function similar to the "say" command on macOS. With Sapit, you can easily convert text into speech in your Python scripts or projects.
Installation
You can install Sapit using pip:
pip install sapit
Usage
Using Sapit is simple. Just import the say function from the sapit module and call it with the text you want to convert into speech:
from sapit import say
say("Hello, World!")
Founder
Sapit was created by "ALI LODHI" He is from Pakistan, Ali lodhi is well experienced python programmer who loves writing python code. The Idea of Sapit came when he was making a Desktop Assistant for his personal use and he had to write a lot of code so that's why to ease of use he created sapit.
Versions
Sapit 1.0
In Sapit 1.0 you can use say function to speak something with the default voice of your Computer
Example
from sapit import say
say ("Hello, World!")
# This will result in the text "Hello, World!" being spoken aloud using the default system text-to-speech engine.
Sapit 1.2.0
In Sapit 1.2.0 you can even specify the voice you want to use It can be male or female
For Example
from sapit import say
say ("Hello, World!", gender = "male") # This will speak in Male voice
say ("Hello, World!", gender = "female") # This will speak in Female voice
say ("Hello, World!")# This will speak in Male voice which is default
Sapit 1.4
Sapit 1.4 is the Biggest update so far and In this Update you can eventually save the file without any problem you can name the file
Example
from sapit import save
save ("Sapit is the best", 'best.wav')
save ('''This is a very long script
that can not be done in one line
and I want to tell you only one thing
SAPIT IS THE BEST''', 'best.wav')
Features of Sapit 1.4
• You can save your Text-to-speech words into an audio file
• You can import male or female voice from sapit import say_male and from sapit import say_female
• Bug Fixes
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sapit-1.4.tar.gz.
File metadata
- Download URL: sapit-1.4.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb988fb133febb2dcc8bef2cc8016ad2d29fbb99393ec1afeee2893effa787db
|
|
| MD5 |
05212cc9530ae8da8c134fab1340a1d0
|
|
| BLAKE2b-256 |
87c6bcdace700c160a78e34616fb68f23149cef88b50e79e0b71ece7a4343658
|
File details
Details for the file sapit-1.4-py3-none-any.whl.
File metadata
- Download URL: sapit-1.4-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e62a8e302864ee170d07cea95dfedad2282258d971fd8d7eb44dfe51a4276565
|
|
| MD5 |
368faac92f32d936e144592cd224194d
|
|
| BLAKE2b-256 |
76f9daa8e24202a3580930e0aba0486d77419580b3ba4571e135a113f9544702
|