/codescream

Primary LanguagePython

CodeScream

Did you ever want your computer to scream at you when you make a mistake?

No?

Well now you can make it do that, anyway.

Instalation

pip install codescream

⚠️ Note for macOS users

On macOS, with Python 3.9+, you might need to install PyObjC beforehand. Otherwise, you get errors about Python 2.7 dependency.

Usage

Add this line somewhere in your project, preferably in the entry point.

from codescream import hook

Unmute your speakers, do something that throws an exception :)

You can also use it to mark functions as deprecated!

from codescream import deprecated

@deprecated
def foo():
    print("Do not use me!")

Now the computer will scream whenever someone uses the deprecated function.

Testimonials

ja pierdole ale się przestraszyłem XDDD

~ @EdwardEisenhauer

jebany, jak szanuję xDDDD

~ @pidpawel

jezu piekne

~ @consi