Skip to main content

ctraceback

Custom traceback

Installing

Install and update using pip:

$ pip install ctraceback

ctraceback supports Python 3 and newer.

Example

from ctraceback import CTraceback
sys.excepthook = CTraceback
...
try:
  ...
except:
  CTraceback(*sys.exc_info())
...

you can run ctraceback server to receive all traceback messages:

$ ctraceback serve
# use -h for help

default port is 7000 and can be change in config file traceback.ini

Links

Author

Hadi Cahyadi

Buy Me a Coffee Donate via Ko-fi Support me on Patreon

Metadata

Release files for ctraceback 1.16.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ctraceback 1.16.2
File Size Uploaded
ctraceback-1.16.2.tar.gz 18.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ctraceback 1.16.2
File Interpreter ABI Platform
ctraceback-1.16.2-py3-none-any.whl Python 3 none any Details

Total release size: 42.1 kB

Release files / ctraceback-1.16.2.tar.gz

Download URL ctraceback-1.16.2.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6b5cde6ae1810ead9093afa8df6c7e427bcd2fe5a074f3d0f5726b3090ffe214
BLAKE2b-256 checksum
How to use checksums
f59918939f9fada0071a4aa9cd1dd65c93f03c7842cdf11b5ad1bc8844ef7b34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / ctraceback-1.16.2-py3-none-any.whl

Download URL ctraceback-1.16.2-py3-none-any.whl
Size 23.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ddc9625107bbf21cfdc110a969dabb22b4b2e03e6b36c11fa28f9b64f8d9a0f7
BLAKE2b-256 checksum
How to use checksums
02fe6335258dff25d7db863c087c76a65b7c3dd90c0906709ef62b7c46bd7c05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.16.2 This release

2 release files

1.14

2 release files

1.13

2 release files

1.12

2 release files

1.10

2 release files

1.6

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page