Skip to main content

readthis - A command line tool to read a text file aloud

Project description

Readthis

Readthis is a command line tool that reads aloud a given text file using the gTTS (Google Text-to-Speech) interface.

Usage

$ readthis [OPTIONS] FILE

Positional Arguments

  • FILE: The file to read aloud. Use - to read from stdin.

Options

  • -h, --help: Show the help message and exit.
  • --lang LANG, -l LANG: Choose the language to use for reading. Specify the language using the language code (e.g., fr for French). Defaults to English.

Installation

$ pip install readthis

Examples

  • Read a text file named sample.txt in English:
$ readthis --lang en sample.txt
  • Read from stdin in French:
$ echo "Bonjour, comment ça va ?" | readthis -l fr -

License

This project is licensed under the 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

readthis-0.0.9.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

readthis-0.0.9-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file readthis-0.0.9.tar.gz.

File metadata

  • Download URL: readthis-0.0.9.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for readthis-0.0.9.tar.gz
Algorithm Hash digest
SHA256 e68673f2a77b42e2d91861a8991928448482d8e16fa8a3316555bb4456b9fef9
MD5 9758182029b74554d4d9e5b7c5954132
BLAKE2b-256 cb7ebeb700ed5735ec93141b725f7a0ba117c01bcda9a08325629021433ccba4

See more details on using hashes here.

File details

Details for the file readthis-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: readthis-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for readthis-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 caa09728876a1041c8af26b60f6b3dba1543bfa365b544bb569137a6b034f57e
MD5 fb4b4fd3c84c5ae275b6dc7b5dd1c438
BLAKE2b-256 07c728dba41973fb57d4f6d1c50997f0a8b83825974c0d1553f106400029f868

See more details on using hashes here.

Supported by

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