Skip to main content

A library that turns boring Python errors into hilarious roasts.

Project description

🎭 ComicScript

ComicScript is the ultimate Python library for developers who don't take themselves too seriously. Why settle for boring, cold, and technical error messages when you can get a personalized "roast" from your own console?

ComicScript replaces standard Python Tracebacks with humorous, witty, and sometimes brutal comments about your coding mistakes.

✨ Features

Zero Configuration: Just import it, and it's active. No complex setup required.

Custom Roasts: Specific jokes for the most common errors (NameError, SyntaxError, TypeError, ZeroDivisionError, etc.).

Dynamic Messages: It picks a random joke from its database every time you fail, so you never get bored of debugging.

Safety Fallback: If you manage to create an error so weird that we don't have a joke for it, it will still show you the original Python error so you aren't left in the dark.

🚀 Installation

Since it's part of the Emilve Ecosystem, you can install it via pip:

pip install ComicScript

🛠️ How to Use

Simply import the library at the very top of your main script. That's it!

import ComicScript

Now, let's make a mistake on purpose...

print(Variable_That_Does_Not_Exist)

Potential Console Output:

🔥 [COMIC-SCRIPT ERROR] 🔥

Whoops! 'Variable_That_Does_Not_Exist'? I haven't heard that name since the Big Bang.

📂 Supported Errors

ComicScript currently "bullies" you for:

NameError: For when you invent names out of thin air.

SyntaxError: For when your cat walks over the keyboard.

ZeroDivisionError: For when you try to destroy the fabric of mathematics (don't create a black hole!).

IndexError: For when you reach for things that aren't there.

AttributeError: For when you ask a fish to fly a plane.

And many more! (TypeError, KeyError, ModuleNotFoundError...) and now the error is now colorfull with rich

👨‍💻 Author

Developed with humor by Emiliano (emicics). "Because if the code is going to break, we might as well have a laugh."

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

comicscript-1.0.7.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

comicscript-1.0.7-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file comicscript-1.0.7.tar.gz.

File metadata

  • Download URL: comicscript-1.0.7.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for comicscript-1.0.7.tar.gz
Algorithm Hash digest
SHA256 1d140e625ce95ceba3be4f2bc5931b2c0914d4cbb18118760b1f5394178bc35b
MD5 715c8f460bfc6bc99bb7ebef44ebad73
BLAKE2b-256 2c4f1f23684e48a9353699833c77025595bf3a15d1dd3049251de8d40411f3d0

See more details on using hashes here.

File details

Details for the file comicscript-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: comicscript-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for comicscript-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 946489d4d6c1df8e5f3730715cede68855d8a03376f7614236780805bb5fbad2
MD5 a977d17132133e2e30924f9a45c21379
BLAKE2b-256 c216d148354ce7ed1bf46cf2e8287fae9cc9204d3078c80aa07ab6f187d2a9ac

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