Skip to main content

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:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-name
    
  3. Make your changes and commit them:
    git commit -m "Add new feature"
    
  4. Push the changes:
    git push origin feature-name
    
  5. 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)

Source distribution for easy-speak 0.1.1
File Size Uploaded
easy_speak-0.1.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for easy-speak 0.1.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page