[REQUEST] Tree Inspect View #1962
Unanswered
rickdonato
asked this question in
Ideas
Replies: 1 comment 1 reply
-
Might be useful, but not sure it belongs in the core lib. For the dynamic option, you could build that with Textual. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Consider posting in https://github.com/willmcgugan/rich/discussions for feedback before raising a feature request.
Have you checked the issues for a similar suggestions? Yes
How would you improve Rich?
Create a tree option for inspect. The reason for this request is this would be a great learning tool when dealing with nested structures.
Each object in the tree could display the object type and name, along with the methods and attributes. An option could be provided to allow for keys to be followed, or just the objects. Or even this could be a UI tool to allow for the object to be explored. Much like
jless
.What problem does it solve for you?
Helping learn about nested structures/obejcts in python without manually walking the path.
What problem do you have that this feature would solve? I may be able to suggest an existing way of solving it.
Did I help
If I was able to resolve your problem, consider sponsoring my work on Rich, or buy me a coffee to say thanks.
Beta Was this translation helpful? Give feedback.
All reactions