⏱ Superfast ^Advanced wildcards++? | Unique algorithms that was implemented on native unmanaged C++ but easily accessible in .NET via Conari (with caching of 0x29 opcodes +optimizations) etc.
World's some of the most famous torture options, collected in one script. Pass an innocent text into this script, and get back the most cringiest text to look at.
Requires the 'emoji' package and the 'bidict' package.
Starring
Random uppercase
Emojify
Lennify
Cancerous fonts
B-ify
n't-ify
Zalgofy (might not work in your terminal, or on all browsers)
Installation
pip install cancerify
Make sure the pip binary installation directory is in your PATH
Usage:
Cancerify can be used in two ways: either as a command line script or from another Python script
Using from command line
usage: cancerify [-h] [-e] [--emojify] [-n R] [-f FILENAME] [-c] [-l] [-p P] [-b] [-x] [-o] [-t] [-T NTFILE] [-z] [--zintup ZINTUP] [--zintmid ZINTMID] [--zintdown ZINTDOWN] [--zintrand ZINTRAND]
optional arguments:
-h, --help show this help message and exit
-e Use emojis
--emojify Use emojis
-n R max number of emojis
-f FILENAME File name
-c Use letters
-l use lenny faces
-p P Max number of lennies
-b Replace "b" with B emoji
-x Prettify
-o Oofify
-t Antonymn't-ify
-T NTFILE Antonymn't-ify files
-z Zalgofy
--zintup ZINTUP Zalgo intenisty up
--zintmid ZINTMID Zalgo intensity mid
--zintdown ZINTDOWN Zalgo intensity down
--zintrand ZINTRAND Use random intensity
If no file is specified, Cancerify will read from stdin. Press Ctrl-D to stop.
Using from another file:
First you have to import Cancerifier and CancerifierArgument
from cancerify.cancerify import *
Next, instantiate a CancerifierArgument from a dictionary. The dictionary can have these arguments:
use_emoji: True or False
max_emoji: Number
content: String which is to cancerify
use_letters: True or False,
use_lenny: True or False,
max_lenny: Number,
b-ify: True or False,
prettify: True or False,
oof-ify: True or False,
antonym: True or False,
antonym_file: Path to antonym file
zalgofy: Zalgofy - True or False
zintup: Intensity of zalgo texts going up
zintmid: Intensity of zalgo texts over characters
zintdown: Intensity of zalgo texts going down
zintrand: If True, for each position, a random number of zalgo texts less than the corresponding intensity will be used, else exactly that many texts will be used.
args = CancerifierArgument({'use_emoji': True, 'max_emoji': 40, 'prettify': True, 'content': 's faf safa gfagag'})
# Pass this args to an instance of Cancerifier
Cancerifier.cancerify(args)
Usage notes:
Cancerify uses Oxford Dictionary API to get the antonyms. The user can optionally specify a file of antonyms using the -T flag.
The structure of the antonym file should be -
word1:antonym1, word2:antonym2, ...
In case of a word having more than one antonym in the API response, the last one would be used.
If a word has antonym in both the API response and the local file, the latter will be preferred.
Note: Currently Cancerify doesn't change in-word. So, it will change "day" to nightn't but won't change "saturday."
The free plan of Oxford API limits 60 searches per minute. Cancerify will hit the API for first 60 words only (words are converted in sets, so this selection is kinda random)
Example
n't-ify -
Input: Go there
Antonym file: there:here
Output: CoMen't Heren't
Sample text file:
What the fuck did you just fucking say about me, you little bitch? I’ll have you know I graduated top of my class in the Navy Seals, and I’ve been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and I’m the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again, fucker. As we speak I am contacting my secret network of spies across the USA and your IP is being traced right now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your life. You’re fucking dead, kid. I can be anywhere, anytime, and I can kill you in over seven hundred ways, and that’s just with my bare hands. Not only am I extensively trained in unarmed combat, but I have access to the entire arsenal of the United States Marine Corps and I will use it to its full extent to wipe your miserable ass off the face of the continent, you little shit. If only you could have known what unholy retribution your little “clever” comment was about to bring down upon you, maybe you would have held your fucking tongue. But you couldn’t, you didn’t, and now you’re paying the price, you goddamn idiot. I will shit fury all over you and you will drown in it. You’re fucking dead, kiddo.
Wait, I'm not that bad dude. So, there's another thing in cancerify - prettify.
Prettify
Reverse the effect of cancerify. Pass the -x option and it will -
Remove all unicode emojis.
Remove the lenny faces present. (only those which are known to the script)
Remove the cancerous fonts (only those which are known by the script)
Clear up consecutive spaces.
Add space after punctuations.
Fix the uppercase mess. This can be a little buggy. I've implemented a lot of cases (Uppercase on first letter, after period, question or exclamation, uppercase 'I' etc.) but of course there are more cases (e.g. Abbreviations, but not all, e.g. e.g.)
Replace the 'B' emojis with 'b'
Have fun!!
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].