The all time meant to be Funny library. Small. Fast. Offline. Zero dependencies. Maximum chaos.
- Do NOT run
DiscoDanceFloor(100, 100, fps=60)unless you hate your computer. π - Do NOT ask
Jokes(1000). It will fight back. π€£ - Do NOT use
AsciiArt("cat")in a serious meeting. We warned you. π± RandomColours(20, 20)may make you question why you ever used numpy. π¨- Side effects may include: uncontrollable laughter, terminal addiction, and forgetting serious libraries exist.
pip install funnyThat's it. No dependencies. No drama. Just funny. π
from funny import *One line. You're in. Welcome to the chaos. π
Prints num jokes. Don't ask for 1000. It will not end well.
Jokes() # 3 jokes by default
Jokes(5) # 5 jokes
Jokes(3, mode='return') # returns instead of printingFunny ASCII art for your terminal gallery. Pass a keyword or go random.
AsciiArt() # random category, 1 art
AsciiArt("cat") # a judgy cat π±
AsciiArt("dragon", 3) # 3 dragon variations
AsciiArt("robot", mode='return') # returns the artSupported categories: cat, dog, robot, snake, skull, dragon, pizza, burger, rocket, penguin, ghost, alien... and 30+ more! π
Password ideas so good, even YOU won't know you're saying your password.
Passwords() # 3 passwords by default
Passwords(5) # 5 passwords
# Real conversation this will cause:
# Person 1: "What's the WiFi password?"
# Person 2: "AreYouSerious?"
# Person 1: "YES I'M SERIOUS!"
# Person 2: πA grid of pure chaos. Letters, emojis, symbols β all mixed together.
RandomStuff(10, 10) # 10x10 grid of chaos
RandomStuff(5, 5) # smaller chaosExample output:
Β§ % π± P Β°
Q β β¦ π― N
π€οΈ β w @ I
j β« Γ A βͺ
π¬ ( [ C π
16 MILLION colours. Even Leonardo Da Vinci would have needed minimum 10 days to finish this artwork. You? 0.3 seconds. π
RandomColour() # 5x5 colour plate
RandomColour(20, 20) # full painting πΌοΈ
RandomColour(10, 10, mode='return') # returns the stringLive colour animation in your terminal. Your terminal will never be the same. πΊ
DiscoDanceFloor() # 5x5, infinite, 10fps
DiscoDanceFloor(20, 20) # bigger floor
DiscoDanceFloor(10, 10, frames=30) # 30 frames then stops
DiscoDanceFloor(10, 10, fps=30) # faster disco π₯
β οΈ fps > 60 = connection glitch vibes. fps = 0 = you want a still image??? π
You already know what this does. Just run it. π€£
Help() # the program of help is literally running!!!Built with absolutely no chill by Swastik Bachhar. π
"Small, fast, offline, zero dependencies, feature-packed, and actually funny β unlike your code."
funny v0.0.1 β because Python deserves to laugh too. ππ€£