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.4.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.4-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ctraceback-1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 e96c179777a63cb15166891d3cb560326e40e432b84073318522d02f5894b6c7
MD5 1a4b17b98d79b5a852fca2f658356aca
BLAKE2b-256 ff873f6b1b519f29d0bb03b37f30c7dfef6ab50a21ee0b4fbdbdb97fc4e442ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ctraceback-1.4-py3-none-any.whl
  • Upload date:
  • Size: 11.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6a474129ff2f1b758d27f836d7275d3882f8a25e0e25d3c5aea1b6923fde9945
MD5 94f9d14f6db85af3045bfc849de73eb7
BLAKE2b-256 4799bf1feed7f77ac2eeae14bec15c0101f559fc31cbbd3fe5faedc971ef625a

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