diagnostic 3.0.0


pip install diagnostic

  Latest version

Released: Dec 15, 2025


Meta
Author: Pradyun Gedam
Requires Python: >=3.10

Classifiers

Development Status
  • 4 - Beta

Intended Audience
  • Developers

License
  • OSI Approved :: MIT License

Operating System
  • OS Independent

Programming Language
  • Python :: 3 :: Only
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy

Topic
  • Software Development :: User Interfaces

Typing
  • Typed

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.

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
rich
markdown-it-py
docutils