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 | Provenance | Actions |
|---|---|---|---|---|
| easy_speak-0.1.1.tar.gz | 3.3 kB | Without provenance | Details for easy_speak-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| easy_speak-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for easy_speak-0.1.1-py3-none-any.whl |
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
|
Security for easy-speak 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.