A quick way to customize your Tracebacks
Project description
- # customTraceback
- ## A quick and easy way to customize your Python tracebacks.
- ```py
- import customTraceback
- def myTraceback(name, value, tb):
- print(f"🔥 Exception: {name}")
- print(f"💬 {value}")
- print(f"📜 Trace: {tb}")
- customTraceback.setTraceBack(myTraceback)
- 1 / 0
- ```
- ### This replaces the division by 0 error with a custom traceback
- This is a basic example this package is a fun package to make cool tracebacks
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
customtraceback-0.3.0.tar.gz
(1.9 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 customtraceback-0.3.0.tar.gz.
File metadata
- Download URL: customtraceback-0.3.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b322bd97a4d54e23fd5cd3f02883bdb77a6db8d0c3824ee7b8a910c03e7f4227
|
|
| MD5 |
a4a98d4a1475796b38748b2583b23be1
|
|
| BLAKE2b-256 |
3a9cc5700cf29ac07d8f27c40e533c6bc7b36820913df6530992929bc18890ae
|
File details
Details for the file customtraceback-0.3.0-py3-none-any.whl.
File metadata
- Download URL: customtraceback-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e40b65d5a62912600eea07141a85f7e929e3df86356e0740fb0993216315530c
|
|
| MD5 |
4448123db56ad7d5450cf92f60c270ea
|
|
| BLAKE2b-256 |
2ebcfef98e03997870cdd5e042522fa54a97d9ae413b9e6c09e709d14e59fbba
|