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 --helpor 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
Metadata
Release files for mannaggia 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mannaggia-0.1.4.tar.gz | 24.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mannaggia-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.4 kB
Release files / mannaggia-0.1.4.tar.gz
| Download URL | mannaggia-0.1.4.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6df855f392a982a2e5db3d7826d3ffbcb499edf396f1103885149b964daec20
|
|
BLAKE2b-256 checksum How to use checksums |
7361ca92c5c84a963d0f741335449ad1c9bd850cf489e4066e1ac6d490b7d52a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / mannaggia-0.1.4-py3-none-any.whl
| Download URL | mannaggia-0.1.4-py3-none-any.whl |
|---|---|
| Size | 30.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7b47ae0651f481c60f9179b31bfc9753fd0710d8508be89dc59a6056cd069eb
|
|
BLAKE2b-256 checksum How to use checksums |
a7ab145dbb9332b6b851f8ec1349218b4fa69612881f687bfa17d88bb5f6f3af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|