Skip to main content

Custom traceback

Project description

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

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

ctraceback-1.2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ctraceback-1.2-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file ctraceback-1.2.tar.gz.

File metadata

  • Download URL: ctraceback-1.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ctraceback-1.2.tar.gz
Algorithm Hash digest
SHA256 1cd51fb01bb41d1cbeb9ffef264f418049465c5762b4f846b68b7fdf146b8f98
MD5 ed3292fb5a6a907ad4e4e4e230db7e2b
BLAKE2b-256 e16c79247521ee2d1187560e4be948705f5d7ddd19bd3c186a39a36f6a157a85

See more details on using hashes here.

File details

Details for the file ctraceback-1.2-py3-none-any.whl.

File metadata

  • Download URL: ctraceback-1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ctraceback-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61834426ca06cc220f738470e9dceacc93e73a61e0440d96ede60370e878157d
MD5 1ed71020b7e4bf81108d984b24e45c70
BLAKE2b-256 b4301d03da3f87d8df2de3d58ba873b284f97794a1a9dc8ebe310d712ab890e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page