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.4.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.4.0.tar.gz.
File metadata
- Download URL: customtraceback-0.4.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 |
3d68edf51bbe9e7b0052dee11dd1d0048c688f21702f0fa571a87d4530a4360b
|
|
| MD5 |
6e7bfd6851f7d77c0fd173d00fed36a5
|
|
| BLAKE2b-256 |
fcb4b906602c9107f4c2673fedfc690e407d4a07b2575ada22e66fd244c3dee8
|
File details
Details for the file customtraceback-0.4.0-py3-none-any.whl.
File metadata
- Download URL: customtraceback-0.4.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 |
6dbbdc73eb6e60345331ce7deb1f8cc816b79b75a8e8e7a54bc445aaeb7f4023
|
|
| MD5 |
dc96247d158aeaca04d560f2902cdd96
|
|
| BLAKE2b-256 |
996d46ecfb7f979914fbd5cc43e74baa31598a1e9bbc71f080d84e3eda20eb0e
|