Generates how it's made titles
Project description
How it's made
How the how it's made package is made
This package recursively generates a title for the show "How It's Made" for n iterations. It can be run from a terminal, in which case it will also read the title allowed.
Requirements
How it's made requires two packages, gTTS and pyttsx3, which can be installed using:
pip3 install gTTS pyttsx3
Example
The command below will print, and then read aloud "How It's Made."
python3 how_its_made.py 1
The module can also be called within code, where the depth and the "it" can be customised.
how = how_its_made(3, "a chair")
# This will print "How How How A Chair's Made Is Made Is Made"
print(how.title)
# This will then create a 'how_its_made.mp3' file using Google's Text to Speech package
how.text_to_speech(delete_sound_file=True)
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
how_its_made-1.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for how_its_made-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daad555540906778f9ce7d1d1256b9b6a5c12451a74ff79fe2e54f6d82c9e89f |
|
MD5 | b4418a33804fdd05cf520a59c0eb6fb7 |
|
BLAKE2b-256 | 5518c0953a9298d9c56b35df37c4e7d71f778184ea6278077629bd21fe523126 |