-
-
Notifications
You must be signed in to change notification settings - Fork 244
Human readable colored view #549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Now I added a colored compact view to have both options proposed in #529. |
We have identified some bugs, so changing this to draft. |
Hi @mauvilsa |
@seperman I have fixed the bugs that we had noticed. You can review now. |
Hey @mauvilsa Thanks for fixing the bugs. Sorry I have been slow in reviewing. I will take care of it by the end of the week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is super cool! I love how you kept the tree view for repr but when converting to strings, it has colors. Thank yoU!
@mauvilsa LGTM! merging. |
Fixes #529
I am not familiar with the deepdiff codebase, I wouldn't know how or where to best integrate this feature. It was an LLM who proposed where. Please comment whether it should be done differently.
Also I have only tested this in linux and mac. I don't know if it works in windows. But an LLM said to use colorama, which is why that is in deepdiff/colored_view.py, but not tested.