easy_speak
easy_speak is a lightweight and efficient text-to-speech (TTS) package that allows you to convert text into speech and play it instantly without saving audio files. It provides a simple way to integrate speech synthesis into Python applications.
Installation
To install easy_speak, run:
pip install easy_speak
For local development, install it in editable mode:
pip install -e .
Usage
Basic Example
from easy_speak import easy_speak
# Convert text to speech and play it
easy_speak("Hello, welcome to easy_speak!")
Change Language
easy_speak("Hola, bienvenido a easy_speak!", lang="es")
Function Reference
easy_speak(text, lang="en")
Converts the given text into speech and plays it immediately.
Parameters:
text(str): The text to be converted into speech.lang(str, optional): The language code (default is"en").
Returns:
None (plays the speech instantly).
Contributing
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit them:
git commit -m "Add new feature"
- Push the changes:
git push origin feature-name
- Open a pull request.
Feel free to report issues and suggest improvements!
License
MIT License.
Metadata
Release files for easy-speak 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| easy_speak-0.1.1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| easy_speak-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / easy_speak-0.1.1.tar.gz
| Download URL | easy_speak-0.1.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0550542e709a83f69a8e69b91136a888d28a927b9e0fa4b91b70cc3c64e6dd66
|
|
BLAKE2b-256 checksum How to use checksums |
e9e2a3887c62d82fc248f55b24c8854d8b871b44b75865564381277752a8dde1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / easy_speak-0.1.1-py3-none-any.whl
| Download URL | easy_speak-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20b167e5a1443d7db909763d92c84a96f841de29db5f9b0a6d102cc05edb839e
|
|
BLAKE2b-256 checksum How to use checksums |
9e896dcdef5b65a02034987f590faad51687eec7a175ef6d136eddd8eb3c5bcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|