Skip to main content

Effortless and powerful text-to-speech conversion for Python applications.

Project description

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.

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

easy_speak-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easy_speak-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file easy_speak-0.1.0.tar.gz.

File metadata

  • Download URL: easy_speak-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for easy_speak-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eb4a92630dc7bceb1dc2c56f47b268ea306730c4c197050fb68a4750677b0f04
MD5 8b85b8d1f383d9eacd3a8fd0ef6a86ba
BLAKE2b-256 d4d9d3293c7776895e372902bc7fe9f6bc0019d3be18f71da7d485f18cd4083a

See more details on using hashes here.

File details

Details for the file easy_speak-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: easy_speak-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for easy_speak-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65af121ace237706f4916035b239d08fc17901a3b3fe0f1c53fc5f0804d11f47
MD5 502f0626efb9317da50381685e868820
BLAKE2b-256 bc80f0c1f2685e71c4ba9fc4cae8159859681f4939054f6c7d84804884e01c58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page