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

Uploaded Source

Built Distribution

readthis-0.0.4-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: readthis-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 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.4.tar.gz
Algorithm Hash digest
SHA256 844ee56543cc1763f127053df8bfdefb778abb6e415946e9965fd3b33122d30d
MD5 37956482c04c6488c841ef38fa47ea65
BLAKE2b-256 f35a12b545d129790c3cc6227bc738776cc9d26d58bfa384aa4c05c54d924359

See more details on using hashes here.

File details

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

File metadata

  • Download URL: readthis-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 17961e5090d089eb470b17740ee88e3f8e039206e862c3457d60a7d6cf91f96c
MD5 0740bd3ac6c60d96b5fec47dbd74e3cb
BLAKE2b-256 d642cf08fb0dd994150feca8f2d0147481968f19a6d11d85a99867590c072387

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