Skip to main content

text-to-speech

npm

This is a simple text to speech engine with some customizable options.

Installation

Run the following to install:

pip install text-to-speech

Usage

Speak

speak()

Params:

Text: String ? The text to be read.
Language: String ? The language (IETF language tag) to read the text in.
Slow: Boolean ? Reads text more slowly.
Save: Boolean ? If the file has to be saved or not.
File: String ? If save == true, the file name to save the mp3 to.

Demo:

from text_to_speech import speak

speak("Hello World", "en", save=True, file="Hello-World.mp3")

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

text_to_speech-1.5.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

text_to_speech-1.5.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file text_to_speech-1.5.1.tar.gz.

File metadata

  • Download URL: text_to_speech-1.5.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for text_to_speech-1.5.1.tar.gz
Algorithm Hash digest
SHA256 ff2f846d2a9ce217da87ad63f87a7d1eb1cbd23414514d6311dfd0df9415c84b
MD5 d3e5f7a9dcf94d46729430f782e08477
BLAKE2b-256 a3fb8f72f033bab7b0eb05c643ea7759dd3472145a073b527d32f60fc1e9a1f8

See more details on using hashes here.

File details

Details for the file text_to_speech-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: text_to_speech-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for text_to_speech-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da062198dbc400eadaa60c3970041b714dfb36490208fa158c659d07f88b5144
MD5 57d5498c3f5007ef72bdaab840857d19
BLAKE2b-256 62559dc742b51ae2aa02ecaaa209ae4865eaeac9e15f4b3254f37cc05f8f4428

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 Sentry Error logging StatusPage Status page