semvec/pypi-packages huggingface dataset:
pretty-warnings 0.1.2
A Python module for displaying formatted warnings.
License: MIT License
Requires Python: >=3.6
Keywords: warning, formatting, text, pretty, python

# pretty_warnings

A Python module for displaying formatted warnings.

## Installation

```
pip install pretty_warnings
```

## Usage

```python
from pretty_warnings import warn

try:
    bad_function()
except Exception as e:
    warn("Bad function has run.")
```