mannaggia is a python application to praise or more likely to curse the saints.
Project description
Mannaggia-py 👼
~ mannaggia is a python application to praise or more likely to curse the saints. ~
Ko-fi · Installation · Changelog
Developed by @veeso
Current version: 0.1.4 (30/01/2022)
Remember Mannaggia? This is a Python remake of it, with new features.
mannaggia is a python application to praise or more likely to curse the saints.
When mannaggia is started, it will start naming all the known saints (and more!), preeceding their name with a curse (such as mannaggia a xxxxx
) or with a praise (such as lode a xxxxx
).
This tool is extremely suggested to be used during an intense debugging session or when implementing those kinds of tasks that makes you want to resign from your job.
Features 🐷
- Support for different dictionaries of saints
- local storage file (see factory.py)
- http://www.beatiesanti.it
- local file (read line by line)
- Support for different text-to-speech engines:
- espeak
- Google Translator
- iSpeech
- MacOs voice-over
- Mozilla TTS
- Automatically plays the sound using pydub. You can check here the requirements to play audio: https://github.com/jiaaro/pydub#playback.
Get started 🚀
-
Install mannaggia with pip
pip3 install mannaggia
-
Run mannaggia
mannaggia --help
or in case it's still not available in your path
python3 -m mannaggia
In case you're missing some dependencies after installation, run:
pip3 install -r requirements.txt
Mozilla tts 🦊
To get started with mozilla tts, you need to install mozilla tts on your machine with pip3 install tts
.
In order to use mozilla TTS as text to speech engine for mannaggia, you need to provide the following options when running mannaggia:
mannaggia --model_name $MODEL_NAME -t mozilla
where model name is something like tts_models/de/thorsten/tacotron2-DCA
in addition to this you need also to provide the --config_file
argument, which must be the file containing the models list.
The default configuration file, can be found at https://raw.githubusercontent.com/mozilla/TTS/master/TTS/.models.json or in this repository at config/models.json.
example:
mannaggia --model_name tts_models/fr/mai/tacotron2-DDC --config_file config/models.json -t mozilla --prefix "Va te faire enculer"
File as a dictionary
You can opt to use a text file as a dictionary. To do so, it'll be enough to write line by line the name of the "characters" to invoke in mannaggia.
example:
mannaggia -d file -D ./config/dictionary.txt
License 📜
Licensed under the DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, you can find HERE the entire 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
Built Distribution
File details
Details for the file mannaggia-0.1.4.tar.gz
.
File metadata
- Download URL: mannaggia-0.1.4.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6df855f392a982a2e5db3d7826d3ffbcb499edf396f1103885149b964daec20 |
|
MD5 | e7e22c4ead2e01d3927835d0e548ce01 |
|
BLAKE2b-256 | 7361ca92c5c84a963d0f741335449ad1c9bd850cf489e4066e1ac6d490b7d52a |
File details
Details for the file mannaggia-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: mannaggia-0.1.4-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7b47ae0651f481c60f9179b31bfc9753fd0710d8508be89dc59a6056cd069eb |
|
MD5 | d5d3adea8221ec88292d37b0464edd93 |
|
BLAKE2b-256 | a7ab145dbb9332b6b851f8ec1349218b4fa69612881f687bfa17d88bb5f6f3af |