A Python module for displaying formatted warnings.
Project description
pretty_warnings
A Python module for displaying formatted warnings.
Installation
pip install pretty_warnings
Usage
from pretty_warnings import warn
try:
bad_function()
except Exception as e:
warn("Bad function has run.")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pretty_warnings-0.1.0.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pretty_warnings-0.1.0.tar.gz.
File metadata
- Download URL: pretty_warnings-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28ef792c0e79ff5e00772749c9db07226586643830a44afafc33dbb21051f6af
|
|
| MD5 |
3ee1924fea3816375e129c86788fadc3
|
|
| BLAKE2b-256 |
432a4d45dfc20a2e86edecebb2ee0184b878a9a62122366d2622355770e10ce0
|
File details
Details for the file pretty_warnings-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pretty_warnings-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4122f1f8d9d1e3331d63c4b427db015c42ec7de30fbf257f74b0d912748f25f3
|
|
| MD5 |
f171f26d95bcc6dc833124da8b4676c0
|
|
| BLAKE2b-256 |
d42ffb78bbc918db7b3e941a825ac82cb7a4eadc9249e32c3fd668cd838906ec
|