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.1.tar.gz
(3.2 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.1.tar.gz.
File metadata
- Download URL: pretty_warnings-0.1.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb291632adbb26f5f3f36a648a6eff6fd7d999488eeb8eaa010c7e7a5f0dc1cc
|
|
| MD5 |
b010d9da8ccc1748abf7f676d4924be4
|
|
| BLAKE2b-256 |
a491daf336c5d4d5b70218054f30cc8387a155bb4b44c9aae429640f2ba658e6
|
File details
Details for the file pretty_warnings-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pretty_warnings-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.6 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 |
b4f2db58f7ca502e4635b6f5bdf591b0841826742099ec6b0600bfac899642b1
|
|
| MD5 |
897d7c27cb0e15d25af13ec2e0d05aa7
|
|
| BLAKE2b-256 |
940aa761cb5adb5e33a232781709390aa27bf78219e03622a85e4362c7cba3df
|