Skip to main content

cqd - A colorful object attribute inspector

Project description

cqd

A lightweight Python utility that provides colored visualization of object attributes, making it easier to inspect objects during development and debugging.

Features

  • Color-coded attribute display:
    • 🔵 Blue: Dunder methods
    • 🟡 Yellow: Protected attributes (starting with _)
    • 🟢 Green: Public attributes and methods

For example - here is a snippet of the tokenizer from huggingface.

alt text

Installation

You can install the package using pip:

pip install cqd

Usage

To use the cqd function, import it from the package:

from cqd import cqd

# Example usage
cqd(your_object)

Contributing

Feel free to submit issues or pull requests for improvements or bug fixes.

License

This project is licensed under 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

cqd-0.1.1.tar.gz (269.3 kB view details)

Uploaded Source

Built Distribution

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

cqd-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file cqd-0.1.1.tar.gz.

File metadata

  • Download URL: cqd-0.1.1.tar.gz
  • Upload date:
  • Size: 269.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for cqd-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c25943c02a0deeeefb6e26eadd3dadd7130f5c3e46bf9d7b7eba20392e173751
MD5 615b6dcd26b4ebcc3aa3a1055a140a68
BLAKE2b-256 b4ea4dc5d638371bad77a0ec148f2ff5148403076e13ac4356794a38672b9ab4

See more details on using hashes here.

File details

Details for the file cqd-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cqd-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for cqd-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0a989d2565dac25846af2c25eb7b8ee7148b74a335ab7a8152c4915b20c0bbe
MD5 11a8d51ec950435e20a4fc72c985e556
BLAKE2b-256 81322a7b8ccf095ed19505b516ba7ccef2f014c905cfc7091f67eeaf82f2b479

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