Skip to main content

Present errors that contain causes better understand what happened.

Project description

diagnostic

diagnostic makes it easier to build command line tools with great error reporting.

demo screenshot showing an error message with a header, a message, and a list of errors

demo screenshot showing an error message with a header, a message, and a list of errors

Features

  • Unique codes on every Diagnostic
  • Tooling to help ensure all codes in the codebase are documented
  • Fancy graphical output, built on top of rich, with graceful fallbacks to ASCII and plain strings
  • Present a causal chain if needed

Documentation

See the documentation for more information.

License

This project is licensed under the terms of the MIT license.

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

diagnostic-3.0.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

diagnostic-3.0.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file diagnostic-3.0.0.tar.gz.

File metadata

  • Download URL: diagnostic-3.0.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for diagnostic-3.0.0.tar.gz
Algorithm Hash digest
SHA256 5c80d7f77706dca775cc85d7b0492e4e96385dade2103052cf06cf6ab105b855
MD5 5f6e8efffaa4cb2b2e8880c38dd14f86
BLAKE2b-256 5de1397476816642a176500e5a53f3875244a61f2543bb405aa67d5ec06ca8b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for diagnostic-3.0.0.tar.gz:

Publisher: publish.yml on pradyunsg/diagnostic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file diagnostic-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: diagnostic-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for diagnostic-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b675877f7ff16bfdee696db6a60e39a0bd2251bbac00697aac1689e485b1444
MD5 3109c223a2177c6e02fb99e504ade230
BLAKE2b-256 4127b759cf1005859f6197069765891790096e9a9947391ab1c9c4f5222158d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for diagnostic-3.0.0-py3-none-any.whl:

Publisher: publish.yml on pradyunsg/diagnostic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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