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.8.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

readthis-0.0.8-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: readthis-0.0.8.tar.gz
  • Upload date:
  • Size: 3.3 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.8.tar.gz
Algorithm Hash digest
SHA256 158610eb4b4393a652cf708e03311e68978fb3d3e49a9a37dee1198439e868a7
MD5 b5b70bd2f600f9a9021161f4a2cb50f7
BLAKE2b-256 bfdb13ba567bc4beb3451e5706972632a022fcd453a4f37dbef9897e137bcbec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: readthis-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ee3210437fc21a198d1fa999e50ec36a381d4bc3e9826fd6edda2962a7d46a81
MD5 578a6f61e118abe2b5d16c0a80868a9c
BLAKE2b-256 426e6d0b5219f08ed1d2e2c31f9f01075163b447055de61787b2ad9173b48bd5

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