Nice error messages for Python
Project description
friendly_errors 😇
A Python module that catches errors and displays them in a friendlier, more helpful way — with tips, emojis, and clear explanations!
✨ Features
- Friendly error messages with explanations
- Custom traceback location info
- YAML-configured error data
- Automatically sets
sys.excepthook
📦 Installation
pip install nice-errors
Usage
import nice-errors
#Throw an error here!
print(1/0)
# See the nice result!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nice_errors-1.1.0.tar.gz
(18.0 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 nice_errors-1.1.0.tar.gz.
File metadata
- Download URL: nice_errors-1.1.0.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb10530ebf481e0a8ec5c25ab012930f274246e62957526fd9c08444afbd72f6
|
|
| MD5 |
d85958f410e4a0e013f7451ce79fa939
|
|
| BLAKE2b-256 |
709a415517978405090aa111c4500ab0b6c32e71992d65af78bce20bd7eb311f
|
File details
Details for the file nice_errors-1.1.0-py3-none-any.whl.
File metadata
- Download URL: nice_errors-1.1.0-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af4c27d0c739de949eda84164a8bf346c93af09efa743c7028aea3bf016ea38b
|
|
| MD5 |
822df1c86611048c9e8fb124c65e2de2
|
|
| BLAKE2b-256 |
329a96ef916e6ed874cda75575d5d64018dd8f05ed85b219030e9e250251cf2d
|