Metadata-Version: 2.4
Name: prank
Version: 0.1.1
Summary: Turns every uncaught exception into emotional damage.
Author-email: Hoàng Long <hoanglongcodes@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/Hoang-Long2012/Prank
Project-URL: Repository, https://github.com/Hoang-Long2012/Prank
Project-URL: Issues, https://github.com/Hoang-Long2012/Prank/issues
Project-URL: Changelog, https://github.com/Hoang-Long2012/Prank/blob/main/CHANGELOG.md
Keywords: prank,troll,traceback,exception,excepthook,debug,humor,fun,sarcasm
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# prank

Turns every uncaught exception into emotional damage.

> Tested on countless unfortunate exceptions.
>
> Side effects may include laughter, frustration, and questioning your life choices.

> ⚠️ If you use this in production, we need to have a serious talk, dude.

## Features

- Does absolutely nothing useful.
- Compatible with your worst debugging session.
- Zero dependencies.
- Zero configuration.
- Zero benefits.
- Maximum emotional damage.
- Rare (1%) and Ultra Rare (0.1%) messages.
- Makes every crash a little more memorable.
- Makes Python just a little bit more sarcastic.

## Installation

```bash
pip install prank
```

No restart required.

Emotional damage starts immediately.

## Usage

```python
import prank

prank.install()
```

Congratulations.

Your future exceptions are no longer alone.

Now wait for your next bug.

## Example

Possible outputs:

```text
Traceback (most recent call last):
...
ZeroDivisionError: division by zero

Math is hard.
```

```text
RuntimeError: Oops

Who wrote this code?
```

Or maybe...

```text
AttributeError: ...

Maybe None isn't what you thought it was.
```

Or, if you're incredibly lucky...

```text
Developer console unlocked.
```

## API

```python
prank.install()
```

Enable prank mode.

```python
prank.uninstall()
```

Disable prank mode.

```python
prank.is_installed()
```

Returns whether prank is currently installed.

## FAQ

**Does it fix bugs?**

No.

**Does it improve debugging?**

Also no.

**Then what's the point?**

Because debugging is already painful. It might as well be funny.

**Is this a serious project?**

No.

**Is this a joke?**

Yes.

**Then why is the code actually well-written?**

...

**Can I disable it?**

Yes.

```python
prank.uninstall()
```

## License

Licensed under the [MIT License](LICENSE).

No warranty.

Especially emotional warranty.

Read more about disclaimer  [at here](DISCLAIMER.md).
