cqd: A Colorful Python Utility for Inspecting Object Attributes

2024-12-22

cqd is a lightweight Python utility that provides a colorful visualization of object attributes, simplifying object inspection during development and debugging. It color-codes attributes: dunder methods (blue), protected attributes (yellow), and public attributes/methods (green). For example, it's useful for easily viewing attributes of a Hugging Face tokenizer. Installation is easy via `pip install cqd`. Usage involves importing the `cqd` function and calling `cqd(your_object).