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.2.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.2.tar.gz.
File metadata
- Download URL: pretty_warnings-0.1.2.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 |
a35fcffb848749e468c5900f70dd2ba0ba5753372bc938c2fd915760f11f9aab
|
|
| MD5 |
94bc4928f3a6bb2a881222f2b82b1c7c
|
|
| BLAKE2b-256 |
d715fee9264caf718113a97feec6253d83e80255ac20cba638aaa0e3f0f5de5e
|
File details
Details for the file pretty_warnings-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pretty_warnings-0.1.2-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 |
92c007582bcfb83cf02edc424002ecf4c5aeb1b712116447621f8a5f1d8e9eee
|
|
| MD5 |
2137cf9a32933aca1ddc09b9d906b8fb
|
|
| BLAKE2b-256 |
a1ad62b39fa2f451e1bf51027c5d61e19be430f685a082232add10aef8de9539
|