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
Release history Release notifications | RSS feed
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.3.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file readthis-0.0.3.tar.gz
.
File metadata
- Download URL: readthis-0.0.3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48987590650f8c0543a6c704483696ab8aea57fd3f62f1cb718943d0dcd41d44 |
|
MD5 | beb510ac1d3a6a80ee4ffe45f052d517 |
|
BLAKE2b-256 | 5a5d3e8bea1ca7d5db1609a16c4bf06b81f87f1a75811d75027f4a6eab6e2769 |
File details
Details for the file readthis-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: readthis-0.0.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b161f782c48a701bf91220c8c92b8d04505d91c9f7fc6c42f3a3b108d2ecaeea |
|
MD5 | 93c5cd667f61a4779c24ac9c94d1d9b6 |
|
BLAKE2b-256 | e107844e8df8d1c12a788cf570917a119bf91f74eaf45c8837b1c391611fd9d2 |