| Name | customTraceback JSON |
| Version |
0.8.2
JSON |
| download |
| home_page | None |
| Summary | A quick way to customize your Tracebacks |
| upload_time | 2025-11-02 19:42:37 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.0 |
| license | MIT |
| keywords |
traceback
error
debug
custom
fun
|
| VCS |
|
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# customTraceback
## A quick and easy way to customize your Python tracebacks
```py
import customTraceback
def myTraceback(name, value, tb, line):
print(f"🔥 Exception: {name}") # name: name of the exception
print(f"💬 {value}") # value: Value (description) of the exception
print(f"📜 Trace: {tb}") # tb: Traceback (default traceback without colors)
print(f"📄 At Line: {line}") # line: the line number (string)
customTraceback.setTraceBack(myTraceback)
1 / 0
```
### This replaces any Exception with a custom traceback, but in this example, it raises zerodevisionerror
**This is a basic example this package is a fun package to make cool tracebacks**
Raw data
{
"_id": null,
"home_page": null,
"name": "customTraceback",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.0",
"maintainer_email": null,
"keywords": "traceback, error, debug, custom, fun",
"author": null,
"author_email": "Anthony <anthony@bloodcircuit.org>",
"download_url": "https://files.pythonhosted.org/packages/7b/32/0e589a76b35610d8749aced38d37e726f5b5b57adf17ff852d0f5744dcb9/customtraceback-0.8.2.tar.gz",
"platform": null,
"description": "# customTraceback\n\n## A quick and easy way to customize your Python tracebacks\n\n```py\nimport customTraceback\n\ndef myTraceback(name, value, tb, line): \n print(f\"\ud83d\udd25 Exception: {name}\") # name: name of the exception\n print(f\"\ud83d\udcac {value}\") # value: Value (description) of the exception\n print(f\"\ud83d\udcdc Trace: {tb}\") # tb: Traceback (default traceback without colors)\n print(f\"\ud83d\udcc4 At Line: {line}\") # line: the line number (string)\n\ncustomTraceback.setTraceBack(myTraceback)\n\n1 / 0\n```\n### This replaces any Exception with a custom traceback, but in this example, it raises zerodevisionerror\n**This is a basic example this package is a fun package to make cool tracebacks**\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A quick way to customize your Tracebacks",
"version": "0.8.2",
"project_urls": null,
"split_keywords": [
"traceback",
" error",
" debug",
" custom",
" fun"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "d19173088e6c34e178f234db2dd6d6fbe3e165eed05207cdd97996875478c5df",
"md5": "ae99428c53ea125c0c5a56ae2c46e59b",
"sha256": "33b4924492cba4d67b0ef76f15a00960988369604af1d7b3482f8abd48674def"
},
"downloads": -1,
"filename": "customtraceback-0.8.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ae99428c53ea125c0c5a56ae2c46e59b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.0",
"size": 2293,
"upload_time": "2025-11-02T19:42:36",
"upload_time_iso_8601": "2025-11-02T19:42:36.898277Z",
"url": "https://files.pythonhosted.org/packages/d1/91/73088e6c34e178f234db2dd6d6fbe3e165eed05207cdd97996875478c5df/customtraceback-0.8.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "7b320e589a76b35610d8749aced38d37e726f5b5b57adf17ff852d0f5744dcb9",
"md5": "3261e26a88f508820aebb00915c2aac0",
"sha256": "64af1c779c56fd947606403757de4e02c0d52c6d8e465221f39ef2a06f7337a6"
},
"downloads": -1,
"filename": "customtraceback-0.8.2.tar.gz",
"has_sig": false,
"md5_digest": "3261e26a88f508820aebb00915c2aac0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.0",
"size": 2123,
"upload_time": "2025-11-02T19:42:37",
"upload_time_iso_8601": "2025-11-02T19:42:37.945053Z",
"url": "https://files.pythonhosted.org/packages/7b/32/0e589a76b35610d8749aced38d37e726f5b5b57adf17ff852d0f5744dcb9/customtraceback-0.8.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-11-02 19:42:37",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "customtraceback"
}