Skip to main content

The all time meant to be Funny library. 😂

Project description

comedypack 🤣

The all time meant to be Funny library. Small. Fast. Offline. Zero dependencies. Maximum chaos.


⚠️ Funny Warnings

  • 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.

📦 Installation

pip install funny

That's it. No dependencies. No drama. Just funny. 😂


🚀 Usage

from funny import *

One line. You're in. Welcome to the chaos. 🎉


🎤 Jokes(num, mode)

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 printing

🖼️ AsciiArt(category, num, mode)

Funny 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 art

Supported categories: cat, dog, robot, snake, skull, dragon, pizza, burger, rocket, penguin, ghost, alien... and 30+ more! 😄


🔑 Passwords(num, mode)

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: 💀

🎲 RandomStuff(w, h, mode)

A grid of pure chaos. Letters, emojis, symbols — all mixed together.

RandomStuff(10, 10)   # 10x10 grid of chaos
RandomStuff(5, 5)     # smaller chaos

Example output:

§ % 🔱 P °
Q ↔ ♦ 🎯 N
🌤️ ↕ w @ I
j ⚫ × A ⚪
🐬 ( [ C 🔆

🌈 RandomColour(w, h, mode)

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 string

🪩 DiscoDanceFloor(w, h, frames, fps)

Live 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??? 😂


❓ Help()

You already know what this does. Just run it. 🤣

Help()  # the program of help is literally running!!!

👨‍💻 Credits & Author

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. 🐍🤣

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

comedypack-0.0.1.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comedypack-0.0.1-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file comedypack-0.0.1.tar.gz.

File metadata

  • Download URL: comedypack-0.0.1.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for comedypack-0.0.1.tar.gz
Algorithm Hash digest
SHA256 dd458fcf00c8927a0d121773bf9a0795e6bde6aa07ea5fa4bde55e376ed1964b
MD5 faf52ff88bf6b2b921d46f501dd5ec0f
BLAKE2b-256 50215e4d5c0463af9881aa7151c7b8a9a840713636cd1df099da101f15e98d68

See more details on using hashes here.

File details

Details for the file comedypack-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: comedypack-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for comedypack-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0064ebf045a607d7ab937fdf9ce5f2b3ce86ec8617cc75c729874cf0098fdc5c
MD5 904242fe1697ff2b7eaad1634e17b744
BLAKE2b-256 58ab970b06631e195adb867b3b427e6909d1700d77b17e1f93bced429c4066a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page